Patch 7.2a.008 Problem: printf("%g", 1) doesn't work. Solution: Convert Number to Float when needed. Files: src/message.c
*** ../vim-7.2a.007/src/message.c Tue Jun 24 22:25:07 2008 --- src/message.c Sat Jun 28 16:02:33 2008 *************** *** 3905,3910 **** --- 3905,3912 ---- ++*idxp; if (tvs[idx].v_type == VAR_FLOAT) f = tvs[idx].vval.v_float; + else if (tvs[idx].v_type == VAR_NUMBER) + f = tvs[idx].vval.v_number; else EMSG(_("E807: Expected Float argument for printf()")); } *** ../vim-7.2a.007/src/version.c Sat Jun 28 15:09:03 2008 --- src/version.c Sat Jun 28 16:08:49 2008 *************** *** 678,679 **** --- 678,681 ---- { /* Add new patch number below this line */ + /**/ + 8, /**/ -- hundred-and-one symptoms of being an internet addict: 111. You and your friends get together regularly on IRC, even though all of you live in the same city. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---