To: vim_dev@googlegroups.com Subject: Patch 8.2.0796 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0796 Problem: MS-Windows: compiler can't handle C99 construct in libvterm. Solution: Change to C90 construct. Files: src/libvterm/src/state.c *** ../vim-8.2.0795/src/libvterm/src/state.c 2020-05-18 21:50:32.932742338 +0200 --- src/libvterm/src/state.c 2020-05-18 23:27:06.019266230 +0200 *************** *** 1780,1788 **** } for( ; row < rows; row++) { ! newlineinfo[row] = (VTermLineInfo){ ! .doublewidth = 0, ! }; } vterm_allocator_free(state->vt, state->lineinfos[bufidx]); --- 1780,1788 ---- } for( ; row < rows; row++) { ! VTermLineInfo lineInfo = (VTermLineInfo){0}; ! lineInfo.doublewidth = 0; ! newlineinfo[row] = lineInfo; } vterm_allocator_free(state->vt, state->lineinfos[bufidx]); *** ../vim-8.2.0795/src/version.c 2020-05-18 21:50:32.932742338 +0200 --- src/version.c 2020-05-18 23:26:06.087431823 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 796, /**/ -- There are three kinds of persons: Those who can count and those who can't. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///