To: vim-dev@vim.org Subject: Patch 6.0.106 Fcc: outbox From: Bram Moolenaar MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.0.106 (extra) Problem: Win32: When the printer font is wrong, there is no error message. Solution: Give an appropriate error message. (Yasuhiro Matsumoto) Files: src/os_mswin.c *** ../vim60.105/src/os_mswin.c Thu Sep 20 18:14:20 2001 --- src/os_mswin.c Sun Dec 30 21:47:34 2001 *************** *** 1399,1405 **** --- 1399,1409 ---- */ memset(&fLogFont, 0, sizeof(fLogFont)); if (!get_logfont(&fLogFont, p_pfn, prt_dlg.hDC)) + { + EMSG2(_("E448: Unknown font: %s"), p_pfn); + mch_print_cleanup(); return FALSE; + } for (pifBold = 0; pifBold <= 1; pifBold++) for (pifItalic = 0; pifItalic <= 1; pifItalic++) *** ../vim60.105/src/version.c Sun Dec 30 21:41:24 2001 --- src/version.c Sun Dec 30 21:49:55 2001 *************** *** 608,609 **** --- 608,611 ---- { /* Add new patch number below this line */ + /**/ + 106, /**/ -- We're knights of the Round Table Our shows are formidable But many times We're given rhymes That are quite unsingable We're opera mad in Camelot We sing from the diaphragm a lot. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///