diff options
Diffstat (limited to 'src/window.c')
-rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c index 7c18c06a7f..532d31431e 100644 --- a/src/window.c +++ b/src/window.c @@ -4370,7 +4370,7 @@ win_goto(win_T *wp) return; } #endif - if (text_locked()) + if (text_and_win_locked()) { beep_flush(); text_locked_msg(); |