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.167 < prev    next >
Encoding:
Internet Message Format  |  2002-02-02  |  1.6 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.0.167
  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.167
  11. Problem:    When 'fileencodings' is "latin2" some characters in the help files
  12.             are displayed wrong.
  13. Solution:   Force the 'fileencoding' for the help files to be "latin1".
  14. Files:      src/fileio.c
  15.  
  16.  
  17. *** ../vim60.166/src/fileio.c    Wed Jan 30 20:11:50 2002
  18. --- src/fileio.c    Sun Feb  3 17:27:17 2002
  19. ***************
  20. *** 670,676 ****
  21.       /*
  22.        * Decide which 'encoding' to use first.
  23.        */
  24. !     if (eap != NULL && eap->force_enc != 0)
  25.       {
  26.       fenc = enc_canonize(eap->cmd + eap->force_enc);
  27.       fenc_alloced = TRUE;
  28. --- 674,685 ----
  29.       /*
  30.        * Decide which 'encoding' to use first.
  31.        */
  32. !     if (curbuf->b_help)
  33. !     {
  34. !     fenc = (char_u *)"latin1";    /* help files are latin1 */
  35. !     fenc_alloced = FALSE;
  36. !     }
  37. !     else if (eap != NULL && eap->force_enc != 0)
  38.       {
  39.       fenc = enc_canonize(eap->cmd + eap->force_enc);
  40.       fenc_alloced = TRUE;
  41. *** ../vim60.166/src/version.c    Sun Feb  3 17:31:23 2002
  42. --- src/version.c    Sun Feb  3 17:30:56 2002
  43. ***************
  44. *** 608,609 ****
  45. --- 608,611 ----
  46.   {   /* Add new patch number below this line */
  47. + /**/
  48. +     167,
  49.   /**/
  50.  
  51. -- 
  52. Did you ever see a "Hit any key to continue" message in a music piece?
  53.  
  54.  ///  Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net  \\\
  55. (((   Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim   )))
  56.  \\\  Help me helping AIDS orphans in Uganda - http://iccf-holland.org  ///
  57.