summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvimboss <devnull@localhost>2007-08-05 17:20:43 +0000
committervimboss <devnull@localhost>2007-08-05 17:20:43 +0000
commit852857ece91b78deba0bcb490acb0c58f6d095d6 (patch)
treea096c5cc9a5cca4a5fb13f53ffc2a292c5c1e8db
parent06e093151508b5126ead9b2a62d5ef59c5a87011 (diff)
downloadvim-852857ece91b78deba0bcb490acb0c58f6d095d6.tar.gz
updated for version 7.1-053v7.1.053v7-1-053
-rw-r--r--src/message.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index 9c574916..609922a2 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1842,7 +1842,7 @@ msg_puts_display(str, maxlen, attr, recurse)
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:
diff --git a/src/version.c b/src/version.c
index 96b11d06..7663fc67 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 53,
+/**/
52,
/**/
51,