From: Austin English Subject: [PATCH 1/2] user32: use winediag debug channel for error message Message-Id: Date: Sun, 15 Nov 2015 23:04:19 -0600 Fixes https://bugs.winehq.org/show_bug.cgi?id=34953 -- -Austin From 2ebef65326fe09177bbd0daf751081539de97fc9 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sun, 15 Nov 2015 23:01:58 -0600 Subject: [PATCH 1/2] user32: use winediag debug channel for error message Signed-off-by: Austin English --- dlls/user32/driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/user32/driver.c b/dlls/user32/driver.c index 59bfc5c..c7988a2 100644 --- a/dlls/user32/driver.c +++ b/dlls/user32/driver.c @@ -32,6 +32,7 @@ #include "controls.h" WINE_DEFAULT_DEBUG_CHANNEL(user); +WINE_DECLARE_DEBUG_CHANNEL(winediag); static USER_DRIVER null_driver, lazy_load_driver; @@ -402,7 +403,7 @@ static BOOL CDECL nulldrv_CreateWindow( HWND hwnd ) if (!parent || parent == get_user_thread_info()->msg_window) return TRUE; if (warned++) return FALSE; - MESSAGE( "Application tried to create a window, but no driver could be loaded.\n"); + ERR_(winediag)( "Application tried to create a window, but no driver could be loaded.\n"); if (driver_load_error[0]) MESSAGE( "%s\n", driver_load_error ); return FALSE; } -- 2.6.2