[try 2] user32: GetMenuStringA now returns correct buffer length for multibyte menu text. (with test)
Huang, Zhangrong
hzhrong at gmail.com
Wed Jul 2 12:14:24 CDT 2008
Hmm, cause GetMenuStringW uses strlenW, so I just copy it.
2008/7/3 Juan Lang <juan.lang at gmail.com>:
> Hi Zhangrong,
>
> +static inline unsigned int strlenW( const WCHAR *str )
> +{
> + const WCHAR *s = str;
> + while (*s) s++;
> + return s - str;
> +}
>
> Is there some reason you can't just use lstrlenW?
> --Juan
>
--
$ apt-get moo
(__)
(oo)
/------\/
/ | ||
* /\---/\
~~ ~~
...."Have you mooed today?"...
More information about the wine-devel
mailing list