To: vim-dev@vim.org Subject: Patch 6.1.266 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.266 (depends on 6.1.265) Problem: Win32: compile error in eval.c. (Bill McCarthy) Solution: Move a variable declaration. Files: src/eval.c *** ../vim61.265/src/eval.c Mon Dec 23 21:24:23 2002 --- src/eval.c Mon Dec 23 22:42:47 2002 *************** *** 5781,5786 **** --- 5781,5789 ---- #ifdef FEAT_CLIENTSERVER var v; char_u *s; + # ifdef WIN32 + int n = 0; + # endif if (check_restricted() || check_secure()) { *************** *** 5788,5795 **** return; } # ifdef WIN32 - int n = 0; - sscanf(get_var_string(&argvars[0]), "%x", &n); if (n == 0) retvar->var_val.var_number = -1; --- 5791,5796 ---- *** ../vim61.265/src/version.c Mon Dec 23 21:24:23 2002 --- src/version.c Mon Dec 23 22:43:59 2002 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 266, /**/ -- hundred-and-one symptoms of being an internet addict: 149. You find your computer sexier than your girlfriend /// 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 ///