Mercurial > vim
comparison src/highlight.c @ 31602:53c3df37a2b0 v9.0.1133
patch 9.0.1133: error message names do not match the items
Commit: https://github.com/vim/vim/commit/a9fa8c58fbcc5cf8850f6963c509de272f4d4bbf
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jan 2 18:10:04 2023 +0000
patch 9.0.1133: error message names do not match the items
Problem: Error message names do not match the items.
Solution: Add "_str" when the text contains "%s".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 02 Jan 2023 19:15:04 +0100 |
parents | 360f286b5869 |
children | b89cfd86e18e |
comparison
equal
deleted
inserted
replaced
31601:7282793ec66f | 31602:53c3df37a2b0 |
---|---|
1089 if (off == color_names[i][0] | 1089 if (off == color_names[i][0] |
1090 && STRICMP(arg + 1, color_names[i] + 1) == 0) | 1090 && STRICMP(arg + 1, color_names[i] + 1) == 0) |
1091 break; | 1091 break; |
1092 if (i < 0) | 1092 if (i < 0) |
1093 { | 1093 { |
1094 semsg(_(e_color_name_or_number_not_recognized), key_start); | 1094 semsg(_(e_color_name_or_number_not_recognized_str), key_start); |
1095 return FALSE; | 1095 return FALSE; |
1096 } | 1096 } |
1097 | 1097 |
1098 color = lookup_color(i, key[5] == 'F', &bold); | 1098 color = lookup_color(i, key[5] == 'F', &bold); |
1099 | 1099 |