1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

instant: fix infinite loop seen in non-C locales

This commit is contained in:
Jon Trulson 2012-06-19 20:02:56 -06:00
parent 5f48454d8e
commit 1b74fb9ba7

View file

@ -455,7 +455,10 @@ static int CompareI18NStrings(ClientData clientData,
}
cp++;
} else {
if (len > 0)
cp += len;
else
break; /* JET - we should be done here... */
}
}
cp = argv[2];
@ -466,7 +469,10 @@ static int CompareI18NStrings(ClientData clientData,
}
cp++;
} else {
if (len > 0)
cp += len;
else
break; /* JET - we should be done here... */
}
}