[pkg-wine-party] [wine] 23/93: user32: Use winediag debug channel for some error messages.

Michael Gilbert mgilbert at moszumanska.debian.org
Tue Nov 24 01:58:45 UTC 2015


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository wine.

commit 230217e4d2a62a079efdb8a06afbba08f12021b8
Author: Austin English <austinenglish at gmail.com>
Date:   Mon Nov 16 14:31:11 2015 -0600

    user32: Use winediag debug channel for some error messages.
    
    Signed-off-by: Austin English <austinenglish at gmail.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
 dlls/user32/driver.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/user32/driver.c b/dlls/user32/driver.c
index 59bfc5c..dbac3ef 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,8 +403,8 @@ 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");
-    if (driver_load_error[0]) MESSAGE( "%s\n", driver_load_error );
+    ERR_(winediag)( "Application tried to create a window, but no driver could be loaded.\n" );
+    if (driver_load_error[0]) ERR_(winediag)( "%s\n", driver_load_error );
     return FALSE;
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list