ntdll: rtlstr.c: Implement checking for control characters inRtlIsTextUnicode [try 2]
Rolf Kalbermatter
r.kalbermatter at hccnet.nl
Thu Jun 19 14:44:10 CDT 2008
Dan Kegel [mailto:dank at kegel.com]
> e.g.
>
> if (flags & IS_TEXT_UNICODE_CONTROLS)
> for (i = 0; i < len; i++)
> switch (s[i]) {
> case '\t':
> case '\n':
> case 'r':
> case 0x20:
> out_flags |= IS_TEXT_UNICODE_CONTROLS;
> goto done;
> default:
> }
> }
> done:
Shouldn't a break instead of the goto work too?
Rolf Kalbermatter
More information about the wine-devel
mailing list