user.exe16: downgrade a couple MESSAGEs to WARNs

Austin English austinenglish at gmail.com
Tue Apr 15 19:12:48 CDT 2014


These aren't really meant for end users and are confusing, e.g.,:
https://bugs.winehq.org/show_bug.cgi?id=30318#c6

-- 
-Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140415/4182f072/attachment.html>
-------------- next part --------------
diff --git a/dlls/user.exe16/message.c b/dlls/user.exe16/message.c
index 48799ab..935b025 100644
--- a/dlls/user.exe16/message.c
+++ b/dlls/user.exe16/message.c
@@ -882,14 +882,14 @@ LRESULT WINPROC_CallProc16To32A( winproc_callback_t callback, HWND16 hwnd, UINT1
             case 0:
                 if (hi)
                 {
-                    MESSAGE("DDE_ACK: neither atom nor handle!!!\n");
+                    WARN("DDE_ACK: neither atom nor handle!!!\n");
                     hi = 0;
                 }
                 break;
             case 1:
                 break; /* atom, nothing to do */
             case 3:
-                MESSAGE("DDE_ACK: %lx both atom and handle... choosing handle\n", hi);
+                WARN("DDE_ACK: %lx both atom and handle... choosing handle\n", hi);
                 /* fall through */
             case 2:
                 hi = convert_handle_16_to_32(hi, GMEM_DDESHARE);
@@ -1262,14 +1262,14 @@ LRESULT WINPROC_CallProc32ATo16( winproc_callback16_t callback, HWND hwnd, UINT
             case 0:
                 if (hi)
                 {
-                    MESSAGE("DDE_ACK: neither atom nor handle!!!\n");
+                    WARN("DDE_ACK: neither atom nor handle!!!\n");
                     hi = 0;
                 }
                 break;
             case 1:
                 break; /* atom, nothing to do */
             case 3:
-                MESSAGE("DDE_ACK: %lx both atom and handle... choosing handle\n", hi);
+                WARN("DDE_ACK: %lx both atom and handle... choosing handle\n", hi);
                 /* fall through */
             case 2:
                 hi = convert_handle_32_to_16(hi, GMEM_DDESHARE);


More information about the wine-patches mailing list