aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/error.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.h b/src/error.h
index 3c81257..61bcce6 100644
--- a/src/error.h
+++ b/src/error.h
@@ -107,8 +107,8 @@ teco_error_move_set(GError **error, const gchar *cmd)
static inline void
teco_error_words_set(GError **error, const gchar *cmd)
{
- g_set_error(error, TECO_ERROR, TECO_ERROR_MOVE,
- "Not enough words to delete with <%s>", cmd);
+ g_set_error(error, TECO_ERROR, TECO_ERROR_WORDS,
+ "Not enough words to perform <%s>", cmd);
}
static inline void