Alex Henrie : wintab32: Change the LoadTabletInfo failure message from ERR to TRACE.

Alexandre Julliard julliard at winehq.org
Thu Oct 25 15:24:35 CDT 2018


Module: wine
Branch: master
Commit: 13cdcdae1a9e58f2eec9cd99b7b7f7899b4d111b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=13cdcdae1a9e58f2eec9cd99b7b7f7899b4d111b

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Thu Oct 25 08:59:47 2018 -0600

wintab32: Change the LoadTabletInfo failure message from ERR to TRACE.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wintab32/context.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/wintab32/context.c b/dlls/wintab32/context.c
index 17f9a11..2993c47 100644
--- a/dlls/wintab32/context.c
+++ b/dlls/wintab32/context.c
@@ -156,16 +156,15 @@ static inline BOOL LoadTablet(void)
 
     if (loaded == TI_START)
     {
-        TRACE("Initializing the tablet to hwnd %p\n",hwndDefault);
-
         if (pLoadTabletInfo && pLoadTabletInfo(hwndDefault))
         {
+            TRACE("Initialized the tablet to hwnd %p\n", hwndDefault);
             loaded = TI_OK;
         }
         else
         {
+            TRACE("Failed to initialize the tablet to hwnd %p\n", hwndDefault);
             loaded = TI_FAIL;
-            ERR("LoadTabletInfo(%p) failed\n", hwndDefault);
         }
     }
 




More information about the wine-cvs mailing list