To: vim-dev@vim.org Subject: Patch 6.1.453 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.453 (after 6.1.429) Problem: When compiled without sign icons but with sign support, adding a sign may cause a crash. Solution: Check for the text sign to exist before using it. (Kamil Burzynski) Files: src/screen.c *** ../vim61.452/src/screen.c Mon Mar 31 20:50:13 2003 --- src/screen.c Tue Apr 8 22:58:18 2003 *************** *** 2906,2913 **** # endif char_attr = icon_sign; } ! else if (text_sign != 0) # endif { p_extra = sign_get_text(text_sign); if (p_extra != NULL) --- 2906,2914 ---- # endif char_attr = icon_sign; } ! else # endif + if (text_sign != 0) { p_extra = sign_get_text(text_sign); if (p_extra != NULL) *** ../vim61.452/src/version.c Tue Apr 8 18:05:22 2003 --- src/version.c Tue Apr 8 22:59:27 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 453, /**/ -- Men may not be seen publicly in any kind of strapless gown. [real standing law in Florida, United States of America] /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///