Author: gadamopoulos
Date: Sun Jan 29 11:13:07 2012
New Revision: 55289
URL:
http://svn.reactos.org/svn/reactos?rev=55289&view=rev
Log:
[user32]
- don't use DbgPrint for error messages
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] Sun Jan 29 11:13:07 2012
@@ -2168,14 +2168,14 @@
ncm.cbSize = sizeof(ncm);
if(!SystemParametersInfoW(SPI_GETNONCLIENTMETRICS, sizeof(ncm), &ncm, 0))
{
- DbgPrint("MenuInit(): SystemParametersInfoW(SPI_GETNONCLIENTMETRICS)
failed!\n");
+ ERR("MenuInit(): SystemParametersInfoW(SPI_GETNONCLIENTMETRICS)
failed!\n");
return FALSE;
}
hMenuFont = CreateFontIndirectW(&ncm.lfMenuFont);
if(hMenuFont == NULL)
{
- DbgPrint("MenuInit(): CreateFontIndirectW(hMenuFont) failed!\n");
+ ERR("MenuInit(): CreateFontIndirectW(hMenuFont) failed!\n");
return FALSE;
}
@@ -2183,7 +2183,7 @@
hMenuFontBold = CreateFontIndirectW(&ncm.lfMenuFont);
if(hMenuFontBold == NULL)
{
- DbgPrint("MenuInit(): CreateFontIndirectW(hMenuFontBold) failed!\n");
+ ERR("MenuInit(): CreateFontIndirectW(hMenuFontBold) failed!\n");
DeleteObject(hMenuFont);
hMenuFont = NULL;
return FALSE;