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

633Re: clear_next don't work correctly.

Expand Messages
  • Yasuhiro Matsumoto
    Apr 21, 2002
    • 0 Attachment
      >That's not what I was asking. Where you say "mbyte_cells become 2", I
      >don't understand it. mbyte_cells is 1 when displaying the extra " ".
      >Do you mean mb_off2cells() returns 2? That is the problem I was talking
      >about.

      And your said is true.
      I'm explaining again, sorry.

      For example, putting ' ' on '[][]'.

      [][] : mbyte_cell=2, (*mb_off2cell)(off)=2, (*mb_off2cell)(off+1)=2,
      thus clear_next_cell become TRUE.
      ... ptr will be set " ".
      v
      ][] : mbyte_cells=1, (*mb_off2cell)(off)=2
      thus clear_next_cell become TRUE.
      ... ptr will be set " ".
      v
      [] : repeat ....
      v
      ] : repeat ....

      We can't judge the character is whether it is a leadbyte or trailbyte
      correctly.
      Thus what we can do is to stop the repeat.

      I guess that the patch should be included.

      Thanks.
      --
      Yasuhiro



      _________________________________________________________________
      Chat with friends online, try MSN Messenger: http://messenger.msn.com
    • Show all 10 messages in this topic