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

[60ad, mb] substitution error

Expand Messages
  • Muraoka Taro
    Substitution to multibyte character stirng is failed. ... Where XXX is multibyte string. There is a multibyte character that trail-byte is (0x5C) in the
    Message 1 of 1 , May 2, 2001
      Substitution to multibyte character stirng is failed.
      :s/foo/XXX/
      Where XXX is multibyte string. There is a multibyte character that
      trail-byte is '\' (0x5C) in the string. Please check it.
      ----
      Muraoka Taro <koron@...>


      diff -cr src.orig/ex_cmds.c src/ex_cmds.c
      *** src.orig/ex_cmds.c Mon Apr 30 04:26:11 2001
      --- src/ex_cmds.c Wed May 2 16:41:33 2001
      ***************
      *** 3826,3831 ****
      --- 3826,3835 ----
      p1 = new_start - 1;
      }
      }
      + #ifdef FEAT_MBYTE
      + if (has_mbyte)
      + p1 += (*mb_ptr2len_check)(p1) - 1;
      + #endif
      }

      /*
    Your message has been successfully submitted and would be delivered to recipients shortly.