comparison 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
comparison
equal deleted inserted replaced
20916:3fb9b2b0a0ba 20917:5c6a6b5a3330
289 289
290 VTermPos oldpos = state->pos; 290 VTermPos oldpos = state->pos;
291 291
292 if (state->pos.row >= state->rows) 292 if (state->pos.row >= state->rows)
293 { 293 {
294 DEBUG_LOG2("libvterm: on_text() pos.row %d out of range (rows = %d)\n", state->pos.row, state.rows); 294 DEBUG_LOG2("libvterm: on_text() pos.row %d out of range (rows = %d)\n", state->pos.row, state->rows);
295 return 0; 295 return 0;
296 } 296 }
297 // We'll have at most len codepoints, plus one from a previous incomplete 297 // We'll have at most len codepoints, plus one from a previous incomplete
298 // sequence. 298 // sequence.
299 codepoints = vterm_allocator_malloc(state->vt, (len + 1) * sizeof(uint32_t)); 299 codepoints = vterm_allocator_malloc(state->vt, (len + 1) * sizeof(uint32_t));