]> granicus.if.org Git - vim/commitdiff
patch 8.0.0383: misplaced #ifdef v8.0.0383
authorBram Moolenaar <Bram@vim.org>
Mon, 27 Feb 2017 20:11:35 +0000 (21:11 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 27 Feb 2017 20:11:35 +0000 (21:11 +0100)
Problem:    Misplaced #ifdef. (Christ van Willigen)
Solution:   Split assignment.

src/screen.c
src/version.c

index 2c9bbef9e53c339a5002b3a681c5d8b2c84a5706..8514f3e3846466ba7c11e4d3f9dc9e676f1dfdbb 100644 (file)
@@ -4201,8 +4201,9 @@ win_line(
            /*
             * Get a character from the line itself.
             */
+           c = *ptr;
 #ifdef FEAT_LINEBREAK
-           c0 = c = *ptr;
+           c0 = *ptr;
 #endif
 #ifdef FEAT_MBYTE
            if (has_mbyte)
index 7099c2d653fde001a003905e85eafe12e12dd34b..232b65dc897ea25af9ec67dee6ffa3f096a0dbf7 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    383,
 /**/
     382,
 /**/