diff options
author | Bram Moolenaar <Bram@vim.org> | 2008-01-02 21:09:33 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2008-01-02 21:09:33 +0000 |
commit | 21af89e2e866aef4fc146fc829a9842d7e906eb2 (patch) | |
tree | 812e45a6f2891a8a47c4c88911d84b6914429de0 /src/edit.c | |
parent | 30405d35ef2beba5ec9e44c9ad37b98a8e9352da (diff) | |
download | vim-git-21af89e2e866aef4fc146fc829a9842d7e906eb2.tar.gz |
updated for version 7.1-188v7.1.188
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c index f528b9649..2663e6e98 100644 --- a/src/edit.c +++ b/src/edit.c @@ -550,7 +550,7 @@ edit(cmdchar, startln, count) i = showmode(); if (!p_im && did_restart_edit == 0) - change_warning(i + 1); + change_warning(i == 0 ? 0 : i + 1); #ifdef CURSOR_SHAPE ui_cursor_shape(); /* may show different cursor shape */ |