To: vim-dev@vim.org Subject: Patch 6.1a.014 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1a.014 Problem: After patch 6.1a.006 can't compile without the title feature. Solution: Add an #ifdef. Files: src/option.c *** ../vim61a.013/src/option.c Tue Feb 26 10:12:47 2002 --- src/option.c Thu Feb 28 20:49:33 2002 *************** *** 4502,4519 **** if (varp == &p_enc) { errmsg = mb_init(); need_maketitle = TRUE; } } if (errmsg == NULL) { ! #ifdef FEAT_KEYMAP /* When 'keymap' is used and 'encoding' changes, reload the keymap * (with another encoding). */ if (varp == &p_enc && *curbuf->b_p_keymap != NUL) (void)keymap_init(); ! #endif /* When 'termencoding' is not empty and 'encoding' changes or when * 'termencoding' changes, need to setup for keyboard input and --- 4502,4521 ---- if (varp == &p_enc) { errmsg = mb_init(); + # ifdef FEAT_TITLE need_maketitle = TRUE; + # endif } } if (errmsg == NULL) { ! # ifdef FEAT_KEYMAP /* When 'keymap' is used and 'encoding' changes, reload the keymap * (with another encoding). */ if (varp == &p_enc && *curbuf->b_p_keymap != NUL) (void)keymap_init(); ! # endif /* When 'termencoding' is not empty and 'encoding' changes or when * 'termencoding' changes, need to setup for keyboard input and *** ../vim61a.013/src/version.c Thu Feb 28 20:39:18 2002 --- src/version.c Thu Feb 28 20:50:47 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 14, /**/ -- From "know your smileys": ~#:-( I just washed my hair, and I can't do nuthin' with it. /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ /// Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim \\\ \\\ Project leader for A-A-P -- http://www.a-a-p.org /// \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///