[PATCH] wintab32: Change the LoadTabletInfo failure message from ERR to TRACE

Alex Henrie alexhenrie24 at gmail.com
Thu Oct 25 09:59:47 CDT 2018


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 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 17f9a11317..2993c4707e 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);
         }
     }
 
-- 
2.19.1




More information about the wine-devel mailing list