diff src/libvterm/src/state.c @ 20917:5c6a6b5a3330 v8.2.1010

patch 8.2.1010: build failure in libvterm with debug enabled Commit: https://github.com/vim/vim/commit/128d3079635ae62786a13adc435d0063a64a014a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jun 19 17:20:41 2020 +0200 patch 8.2.1010: build failure in libvterm with debug enabled Problem: Build failure in libvterm with debug enabled. (John Little) Solution: Use "->" instead of ".".
author Bram Moolenaar <Bram@vim.org>
date Fri, 19 Jun 2020 17:30:03 +0200
parents 88cec48503b8
children 2f2bc98a8dfb
line wrap: on
line diff
--- a/src/libvterm/src/state.c
+++ b/src/libvterm/src/state.c
@@ -291,7 +291,7 @@ static int on_text(const char bytes[], s
 
   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