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 / 7.3 / 7.3.374 < prev    next >
Encoding:
Internet Message Format  |  2012-11-20  |  1.6 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.374
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.374
  11. Problem:    ++encoding does not work properly.
  12. Solution:   Recognize ++encoding before ++enc. (Charles Cooper)
  13. Files:        src/ex_docmd.c
  14.  
  15.  
  16. *** ../vim-7.3.373/src/ex_docmd.c    2011-10-20 21:58:20.000000000 +0200
  17. --- src/ex_docmd.c    2011-12-14 14:46:05.000000000 +0100
  18. ***************
  19. *** 4840,4851 ****
  20.   #ifdef FEAT_MBYTE
  21.       else if (STRNCMP(arg, "enc", 3) == 0)
  22.       {
  23. !     arg += 3;
  24. !     pp = &eap->force_enc;
  25. !     }
  26. !     else if (STRNCMP(arg, "encoding", 8) == 0)
  27. !     {
  28. !     arg += 8;
  29.       pp = &eap->force_enc;
  30.       }
  31.       else if (STRNCMP(arg, "bad", 3) == 0)
  32. --- 4840,4849 ----
  33.   #ifdef FEAT_MBYTE
  34.       else if (STRNCMP(arg, "enc", 3) == 0)
  35.       {
  36. !     if (STRNCMP(arg, "encoding", 8) == 0)
  37. !         arg += 8;
  38. !     else
  39. !         arg += 3;
  40.       pp = &eap->force_enc;
  41.       }
  42.       else if (STRNCMP(arg, "bad", 3) == 0)
  43. *** ../vim-7.3.373/src/version.c    2011-12-14 14:15:12.000000000 +0100
  44. --- src/version.c    2011-12-14 14:44:01.000000000 +0100
  45. ***************
  46. *** 716,717 ****
  47. --- 716,719 ----
  48.   {   /* Add new patch number below this line */
  49. + /**/
  50. +     374,
  51.   /**/
  52.  
  53. -- 
  54. Linux is just like a wigwam: no Windows, no Gates and an Apache inside.
  55.  
  56.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  57. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  58. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  59.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  60.