winex11.drv: Convert ERR to WARN to avoid confusing users

Dmitry Timoshkov dmitry at codeweavers.com
Wed Mar 21 04:23:17 CDT 2007


Hello,

Changelog:
    winex11.drv: Convert ERR to WARN to avoid confusing users.

---
 dlls/winex11.drv/bitmap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/winex11.drv/bitmap.c b/dlls/winex11.drv/bitmap.c
index 75623e4..da19b69 100644
--- a/dlls/winex11.drv/bitmap.c
+++ b/dlls/winex11.drv/bitmap.c
@@ -123,8 +123,8 @@ BOOL X11DRV_CreateBitmap( X11DRV_PDEVICE *physDev, HBITMAP hbitmap, LPVOID bmBit
 
     if ((bitmap.bmBitsPixel != 1) && (bitmap.bmBitsPixel != screen_depth))
     {
-        ERR("Trying to make bitmap with planes=%d, bpp=%d\n",
-            bitmap.bmPlanes, bitmap.bmBitsPixel);
+        WARN("Incompatible bitmap with bpp %u (screen bpp %u)\n",
+             bitmap.bmBitsPixel, screen_depth);
         return FALSE;
     }
     if (hbitmap == BITMAP_stock_phys_bitmap.hbitmap)
-- 
1.5.0.5






More information about the wine-patches mailing list