diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-13 04:50:27 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-13 06:58:11 +0300 |
commit | 59ef388128936ca846a96052938a14131067d3d2 (patch) | |
tree | 9d997de96ab913461f59711a2c3a992861781862 /src/error.h | |
parent | 1208193feb641c7515c389cafe38e0e8463941df (diff) | |
download | sciteco-59ef388128936ca846a96052938a14131067d3d2.tar.gz |
fixed error message for nW and nP if it would move the pointer beyond the document's boundaries
Diffstat (limited to 'src/error.h')
-rw-r--r-- | src/error.h | 4 |
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 |