diff options
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index 80a70e25ce..c1f823e27a 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1627,7 +1627,7 @@ gui_mch_get_color(char_u *name) /* * Try to look up a system colour. */ - for (i = 0; i < sizeof(sys_table) / sizeof(sys_table[0]); i++) + for (i = 0; i < ARRAY_LENGTH(sys_table); i++) if (STRICMP(name, sys_table[i].name) == 0) return GetSysColor(sys_table[i].color); @@ -5077,7 +5077,7 @@ error: /* * Parse the GUI related command-line arguments. Any arguments used are * deleted from argv, and *argc is decremented accordingly. This is called - * when vim is started, whether or not the GUI has been started. + * when Vim is started, whether or not the GUI has been started. */ void gui_mch_prepare(int *argc, char **argv) |