home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.0.106 < prev    next >
Encoding:
Internet Message Format  |  2001-12-29  |  1.6 KB

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