Janitorial dlls/commdlg/printdlg W->A cleanup

Tony Lambregts tony_lambregts at telusplanet.net
Sun Mar 16 14:42:55 CST 2003


I missed this one earlier (not on Dimi's page)

Change Log: Janitorial. Get rid of W->A call

Files Changed: dlls/commdlg/printdlg.c

-- 

Tony Lambregts


-------------- next part --------------
Index: printdlg.c
===================================================================
RCS file: /home/wine/wine/dlls/commdlg/printdlg.c,v
retrieving revision 1.61
diff -u -r1.61 printdlg.c
--- printdlg.c	6 Mar 2003 22:44:05 -0000	1.61
+++ printdlg.c	16 Mar 2003 20:47:48 -0000
@@ -2056,7 +2056,7 @@
     INT_PTR res = FALSE;
 
     if (uMsg!=WM_INITDIALOG) {
-        PrintStructures = (PRINT_PTRW*) GetWindowLongA(hDlg, DWL_USER);
+        PrintStructures = (PRINT_PTRW*) GetWindowLongW(hDlg, DWL_USER);
 	if (!PrintStructures)
 	    return FALSE;
     } else {


More information about the wine-patches mailing list