forked from aniani/vim
patch 8.2.4911: the mode #defines are not clearly named
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
This commit is contained in:
@@ -1678,7 +1678,7 @@ WaitForChar(long msec, int ignore_input)
|
||||
# ifdef FEAT_MBYTE_IME
|
||||
// May have to redraw if the cursor ends up in the wrong place.
|
||||
// Only when not peeking.
|
||||
if (State & CMDLINE && msg_row == Rows - 1 && msec != 0)
|
||||
if (State == MODE_CMDLINE && msg_row == Rows - 1 && msec != 0)
|
||||
{
|
||||
CONSOLE_SCREEN_BUFFER_INFO csbi;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user