aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-11 09:10:44 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-11 15:38:02 +0000
commite7e199d6b5793fc11a26c78fcf964b12201dc412 (patch)
treec82b8383f60b3d98cdb58307ee1a86cce9172413
parentselection: invalidate *all* affected lines when updating selection (diff)
selection: spell 'finalize' correctly
-rw-r--r--selection.c2
-rw-r--r--selection.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/selection.c b/selection.c
index ad88f93a..8860ef88 100644
--- a/selection.c
+++ b/selection.c
@@ -61,7 +61,7 @@ selection_update(struct terminal *term, int col, int row)
}
void
-selection_finalizie(struct terminal *term)
+selection_finalize(struct terminal *term)
{
if (!selection_enabled(term))
return;
diff --git a/selection.h b/selection.h
index 96b8b489..84aed3f0 100644
--- a/selection.h
+++ b/selection.h
@@ -4,5 +4,5 @@
void selection_start(struct terminal *term, int col, int row);
void selection_update(struct terminal *term, int col, int row);
-void selection_finalizie(struct terminal *term);
+void selection_finalize(struct terminal *term);
void selection_cancel(struct terminal *term);