Dmitry Timoshkov : user32: Pass the same PRF_ flags from WM_PRINT to WM_PRINTCLIENT.

Alexandre Julliard julliard at winehq.org
Wed Jul 22 09:34:10 CDT 2009


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

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Wed Jul 22 15:22:35 2009 +0900

user32: Pass the same PRF_ flags from WM_PRINT to WM_PRINTCLIENT.

---

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

diff --git a/dlls/user32/defwnd.c b/dlls/user32/defwnd.c
index bf30c97..19d6ab2 100644
--- a/dlls/user32/defwnd.c
+++ b/dlls/user32/defwnd.c
@@ -216,7 +216,7 @@ static void DEFWND_Print( HWND hwnd, HDC hdc, ULONG uFlags)
    * Client area
    */
   if ( uFlags & PRF_CLIENT)
-    SendMessageW(hwnd, WM_PRINTCLIENT, (WPARAM)hdc, PRF_CLIENT);
+    SendMessageW(hwnd, WM_PRINTCLIENT, (WPARAM)hdc, uFlags);
 }
 
 




More information about the wine-cvs mailing list