To: vim-dev@vim.org Subject: Patch 6.1.199 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.199 Problem: 'guifontwide' doesn't work on Win32. Solution: Output each wide character separately. (Michael Geddes) Files: src/gui.c *** ../vim61.198/src/gui.c Mon Sep 16 22:00:32 2002 --- src/gui.c Fri Sep 27 20:24:04 2002 *************** *** 1951,1957 **** /* print the string so far if it's the last character or there is * a composing character. */ ! if (i + cl >= len || (comping && i > start) #if defined(FEAT_GUI_X11) || defined(FEAT_GUI_GTK) || (cn > 1 # ifdef FEAT_XFONTSET --- 1954,1960 ---- /* print the string so far if it's the last character or there is * a composing character. */ ! if (i + cl >= len || (comping && i > start) || dowide #if defined(FEAT_GUI_X11) || defined(FEAT_GUI_GTK) || (cn > 1 # ifdef FEAT_XFONTSET *** ../vim61.198/src/version.c Fri Sep 27 19:30:44 2002 --- src/version.c Fri Sep 27 20:41:32 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 199, /**/ -- Proof techniques #2: Proof by Oddity. SAMPLE: To prove that horses have an infinite number of legs. (1) Horses have an even number of legs. (2) They have two legs in back and fore legs in front. (3) This makes a total of six legs, which certainly is an odd number of legs for a horse. (4) But the only number that is both odd and even is infinity. (5) Therefore, horses must have an infinite number of legs. /// 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 /// \\\ Lord Of The Rings helps Uganda - http://iccf-holland.org/lotr.html ///