mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dthelp: Fix a multibyte character parsing issue.
This commit is contained in:
parent
6a26b02606
commit
f2623acbe7
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ do {
|
|||
{
|
||||
mbyte[length++] = c;
|
||||
mbyte[length] = 0;
|
||||
mblen(NULL, 0);
|
||||
if (mblen(mbyte,length) != -1) break; /* hurray! */
|
||||
if (length == MB_CUR_MAX)
|
||||
{ /* reached max without a hit */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue