Alexander Dorofeyev : ddraw: Fix incorrect WARN text.

Alexandre Julliard julliard at winehq.org
Mon Dec 17 06:42:22 CST 2007


Module: wine
Branch: master
Commit: f4337b4714830023dd67c07c7044b67ea2ed63d6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f4337b4714830023dd67c07c7044b67ea2ed63d6

Author: Alexander Dorofeyev <alexd4 at inbox.lv>
Date:   Sun Dec 16 19:55:58 2007 -0800

ddraw: Fix incorrect WARN text.

---

 dlls/ddraw/surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ddraw/surface.c b/dlls/ddraw/surface.c
index 646ea1a..c8b3d5d 100644
--- a/dlls/ddraw/surface.c
+++ b/dlls/ddraw/surface.c
@@ -787,7 +787,7 @@ IDirectDrawSurfaceImpl_Blt(IDirectDrawSurface7 *iface,
            DestRect->right > This->surface_desc.dwWidth ||
            DestRect->bottom > This->surface_desc.dwHeight)
         {
-            WARN("Source rectangle is invalid, returning DDERR_INVALIDRECT\n");
+            WARN("Destination rectangle is invalid, returning DDERR_INVALIDRECT\n");
             LeaveCriticalSection(&ddraw_cs);
             return DDERR_INVALIDRECT;
         }




More information about the wine-cvs mailing list