]> granicus.if.org Git - vim/commitdiff
patch 8.2.1010: build failure in libvterm with debug enabled v8.2.1010
authorBram Moolenaar <Bram@vim.org>
Fri, 19 Jun 2020 15:20:41 +0000 (17:20 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 19 Jun 2020 15:20:41 +0000 (17:20 +0200)
Problem:    Build failure in libvterm with debug enabled. (John Little)
Solution:   Use "->" instead of ".".

src/libvterm/src/state.c
src/version.c

index dd25726db1e24281e7d4329ea36fa295e6544649..c9a988caa58b5d56ad535b4aae5cbc2d84962644 100644 (file)
@@ -291,7 +291,7 @@ static int on_text(const char bytes[], size_t len, void *user)
 
   if (state->pos.row >= state->rows)
   {
-    DEBUG_LOG2("libvterm: on_text() pos.row %d out of range (rows = %d)\n", state->pos.row, state.rows);
+    DEBUG_LOG2("libvterm: on_text() pos.row %d out of range (rows = %d)\n", state->pos.row, state->rows);
     return 0;
   }
   // We'll have at most len codepoints, plus one from a previous incomplete
index c702791a1229e5bc8e2c976af2831f38782e6055..f1e274ad0a80193e33e98b03adc368fbda73c46e 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1010,
 /**/
     1009,
 /**/