Author: dgorbachev
Date: Tue Nov 10 23:52:41 2009
New Revision: 44084
URL:
http://svn.reactos.org/svn/reactos?rev=44084&view=rev
Log:
Fix Japanese bug #4776.
Modified:
trunk/reactos/dll/win32/user32/windows/menu.c
Modified: trunk/reactos/dll/win32/user32/windows/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/menu.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/menu.c [iso-8859-1] Tue Nov 10 23:52:41 2009
@@ -1224,8 +1224,16 @@
}
else /* Not a popup */
{
- if (*str == 0)
- flags = MF_SEPARATOR;
+ if(!unicode)
+ {
+ if (*str == 0)
+ flags = MF_SEPARATOR;
+ }
+ else
+ {
+ if (*(LPCWSTR)str == 0)
+ flags = MF_SEPARATOR;
+ }
if (flags & MF_SEPARATOR)
{