[try 2] user32: GetMenuStringA now returns correct buffer length for multibyte menu text. (with test)

Juan Lang juan.lang at gmail.com
Wed Jul 2 11:51:55 CDT 2008


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



More information about the wine-devel mailing list