home *** CD-ROM | disk | FTP | other *** search
- To: vim-dev@vim.org
- Subject: Patch 6.1.310
- Fcc: outbox
- From: Bram Moolenaar <Bram@moolenaar.net>
- Mime-Version: 1.0
- Content-Type: text/plain; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- ------------
-
- Patch 6.1.310 (depends on 6.1.307)
- Problem: All double-byte characters are displayed as "XX".
- Solution: Use ">= 32" instead of "< 32". (Yasuhiro Matsumoto)
- Files: src/screen.c
-
-
- *** ../vim61.309/src/screen.c Tue Jan 28 21:51:20 2003
- --- src/screen.c Wed Jan 29 10:07:28 2003
- ***************
- *** 3266,3272 ****
- /* We assume a second byte below 32 is illegal.
- * Hopefully this is OK for all double-byte encodings!
- */
- ! if (ptr[1] < 32)
- mb_c = (c << 8) + ptr[1];
- else
- {
- --- 3267,3273 ----
- /* We assume a second byte below 32 is illegal.
- * Hopefully this is OK for all double-byte encodings!
- */
- ! if (ptr[1] >= 32)
- mb_c = (c << 8) + ptr[1];
- else
- {
- *** ../vim61.309/src/version.c Tue Jan 28 22:28:19 2003
- --- src/version.c Wed Jan 29 10:07:34 2003
- ***************
- *** 608,609 ****
- --- 608,611 ----
- { /* Add new patch number below this line */
- + /**/
- + 310,
- /**/
-
- --
- hundred-and-one symptoms of being an internet addict:
- 73. You give your dog used motherboards instead of bones
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///
-