To: vim_dev@googlegroups.com Subject: Patch 7.4.1974 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1974 Problem: GUI has a problem with some termcodes. Solution: Handle negative numbers. (Kazunobu Kuriyama) Files: src/gui.c *** ../vim-7.4.1973/src/gui.c 2016-06-14 20:39:38.104512766 +0200 --- src/gui.c 2016-07-01 15:46:36.333959845 +0200 *************** *** 1773,1779 **** if (s[0] == ESC && s[1] == '|') { p = s + 2; ! if (VIM_ISDIGIT(*p)) { arg1 = getdigits(&p); if (p > s + len) --- 1773,1779 ---- if (s[0] == ESC && s[1] == '|') { p = s + 2; ! if (VIM_ISDIGIT(*p) || (*p == '-' && VIM_ISDIGIT(*(p + 1)))) { arg1 = getdigits(&p); if (p > s + len) *** ../vim-7.4.1973/src/version.c 2016-07-01 15:39:35.612214172 +0200 --- src/version.c 2016-07-01 15:47:47.996903701 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1974, /**/ -- hundred-and-one symptoms of being an internet addict: 171. You invent another person and chat with yourself in empty chat rooms. /// 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 ///