refactor: using a different error number for 'mousescroll'

Because E548 is linked to 'guicursor' in help.
This commit is contained in:
zeertzjq
2023-05-05 08:18:36 +08:00
parent 75119fcc86
commit b8d5586d5b
3 changed files with 3 additions and 3 deletions

View File

@@ -514,7 +514,7 @@ const char *did_set_mousescroll(optset_T *args FUNC_ATTR_UNUSED)
// Verify that only digits follow the colon.
for (size_t i = 4; i < length; i++) {
if (!ascii_isdigit(string[i])) {
return N_("E548: digit expected");
return N_("E5080: Digit expected");
}
}