commit | 57b7fe808f7fde1fe3a63f960d7980e37ac169f3 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Aug 05 17:20:43 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Aug 05 17:20:43 2007 +0000 |
tree | a096c5cc9a5cca4a5fb13f53ffc2a292c5c1e8db | |
parent | 0963cd95f5940ebe10fdcdd176d94a3e92008595 [diff] [blame] |
updated for version 7.1-053
diff --git a/src/message.c b/src/message.c index 9c57491..609922a 100644 --- a/src/message.c +++ b/src/message.c
@@ -1842,7 +1842,7 @@ int wrap; did_wait_return = FALSE; - while (*s != NUL && (maxlen < 0 || (int)(s - str) < maxlen)) + while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL) { /* * We are at the end of the screen line when: