Loading ...
Sorry, an error occurred while loading the content.
 

Patch 6.1.354 (extra)

Expand Messages
  • Bram Moolenaar
    Patch 6.1.354 (extra, depends on 6.1.333) Problem: MS-Windows 98: Notepad can t paste text copied from Vim when encoding is utf-8 . Solution: Also make
    Message 1 of 1 , Feb 23, 2003
      Patch 6.1.354 (extra, depends on 6.1.333)
      Problem: MS-Windows 98: Notepad can't paste text copied from Vim when
      'encoding' is "utf-8".
      Solution: Also make CF_TEXT available on the clipboard. (Ron Aaron)
      Files: src/os_mswin.c


      *** ../vim61.353/src/os_mswin.c Sun Feb 16 22:28:48 2003
      --- src/os_mswin.c Sat Feb 22 15:02:54 2003
      ***************
      *** 1231,1242 ****
      SetClipboardData(CF_UNICODETEXT, hMemW);
      hMemW = 0;
      }
      - else
      # endif
      ! {
      ! SetClipboardData(CF_TEXT, hMem);
      ! hMem = 0;
      ! }
      }
      CloseClipboard();
      }
      --- 1233,1243 ----
      SetClipboardData(CF_UNICODETEXT, hMemW);
      hMemW = 0;
      }
      # endif
      ! /* Always use CF_TEXT. On Win98 Notepad won't obtain the
      ! * CF_UNICODETEXT text, only CF_TEXT. */
      ! SetClipboardData(CF_TEXT, hMem);
      ! hMem = 0;
      }
      CloseClipboard();
      }
      *** ../vim61.353/src/version.c Sat Feb 22 14:09:00 2003
      --- src/version.c Sun Feb 23 17:12:26 2003
      ***************
      *** 608,609 ****
      --- 612,615 ----
      { /* Add new patch number below this line */
      + /**/
      + 354,
      /**/

      --
      ARTHUR: A scratch? Your arm's off!
      BLACK KNIGHT: No, it isn't.
      ARTHUR: Well, what's that then?
      BLACK KNIGHT: I've had worse.
      The Quest for the Holy Grail (Monty Python)

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
      \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
      \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///
    Your message has been successfully submitted and would be delivered to recipients shortly.