Fix bug causing lockups in multibyte locale's.
SVN revision: 13666
This commit is contained in:
parent
c28ecf59b0
commit
a0e9a9695d
|
@ -459,7 +459,7 @@ TextstateDrawText(TextState * ts, Window win, const char *text, int x, int y,
|
|||
while (ret2.width > textwidth_limit)
|
||||
{
|
||||
nuke_count++;
|
||||
if (nuke_count > len)
|
||||
if (nuke_count > wc_len)
|
||||
{
|
||||
int mlen;
|
||||
|
||||
|
|
Loading…
Reference in New Issue