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

321small fix for input

Expand Messages
  • vim-multibyte-egroups-wrapper@vim.org
    Aug 21, 2000
    • 0 Attachment
      Hi, Bram and All.

      This is small fix for mbyte-input.
      If typing mbyte on command mode, Vim will crash.

      ---------------------------------------------------------
      *** src.org/charset.c Mon Aug 07 03:11:43 2000
      --- src/charset.c Tue Aug 22 14:10:30 2000
      ***************
      *** 354,360 ****
      --- 354,364 ----
      #ifdef FEAT_FKMAP
      || F_ischar(c)
      #endif
      + #ifdef FEAT_MBYTE
      + )) || (c < 255 && chartab[c] & CHAR_IP)) /* printable character */
      + #else
      )) || (chartab[c] & CHAR_IP)) /* printable character */
      + #endif
      {
      buf[i] = c;
      buf[i + 1] = NUL;
      ---------------------------------------------------------

      Yasuhiro Matsumoto