dtfile: Remove define MULTIBYTE which is always on for CDE

This commit is contained in:
Peter Howkins
2018-06-25 01:24:31 +01:00
parent 115c1a25d8
commit bcb6aa9fa9
4 changed files with 1 additions and 34 deletions

View File

@@ -5434,7 +5434,6 @@ static unsigned char
{
unsigned char *pchR = pchIn;
register int i;
#ifdef MULTIBYTE
register int chlen;
for (i = 0; ((chlen = mblen ((char *)pchIn, MB_CUR_MAX)) > 0); i++)
@@ -5447,19 +5446,8 @@ static unsigned char
pchIn += chlen;
}
#else
for (i = 0; *pchIn && !isspace (*pchIn); i++, pchIn++)
/* find end of word */
{
}
#endif
/* skip to next word */
#ifdef MULTIBYTE
while (pchIn && (mblen ((char *)pchIn, MB_CUR_MAX) == 1) && isspace (*pchIn))
#else
while (pchIn && isspace (*pchIn))
#endif
{
*pchIn++;
}