[1/2] msvcrt: Implement _mbsupr_s (try2).

Dan Kegel dank at kegel.com
Thu Mar 17 20:55:13 CDT 2011


Konrad wrote:
> +      c = _mbctoupper(_mbsnextc(s));
> +      /* Note that I assume that the size of the character is  unchanged */
> +      if (c > 255)
> +      {
> +          *s++=(c>>8);
> +          c=c & 0xff;
> +      }
> +      *s++=c;

Tests might be in order...
(Here's one possible interesting test case:
http://blogs.msdn.com/b/michkap/archive/2009/08/11/9864576.aspx )
- Dan



More information about the wine-devel mailing list