Changelog: - Removed res in PROPSHEET_Back as it wasn't used at all. - Added a debugstr_w() in 2 output messages in AddPrinterW. Vincent
diff -urN wine-orig/dlls/comctl32/propsheet.c wine-pas-compilé/dlls/comctl32/propsheet.c --- wine-orig/dlls/comctl32/propsheet.c Tue May 14 17:13:53 2002 +++ wine-pas-compilé/dlls/comctl32/propsheet.c Mon May 27 13:24:01 2002 @@ -1310,7 +1310,6 @@ */ static BOOL PROPSHEET_Back(HWND hwndDlg) { - BOOL res; PSHNOTIFY psn; HWND hwndPage; PropSheetInfo* psInfo = (PropSheetInfo*) GetPropW(hwndDlg, diff -urN wine-orig/dlls/winspool/info.c wine-pas-compilé/dlls/winspool/info.c --- wine-orig/dlls/winspool/info.c Thu May 23 16:36:46 2002 +++ wine-pas-compilé/dlls/winspool/info.c Mon May 27 14:45:47 2002 @@ -1060,7 +1060,7 @@ */ size = DocumentPropertiesW(0, -1, pi->pPrinterName, NULL, NULL, 0); if(size < 0) { - FIXME("DocumentPropertiesW on printer '%s' fails\n", pi->pPrinterName); + FIXME("DocumentPropertiesW on printer '%s' fails\n", debugstr_w(pi->pPrinterName)); size = sizeof(DEVMODEW); } if(pi->pDevMode) @@ -1069,7 +1069,7 @@ dmW = HeapAlloc(GetProcessHeap(), 0, size); dmW->dmSize = size; if (0>DocumentPropertiesW(0,-1,pi->pPrinterName,dmW,NULL,DM_OUT_BUFFER)) { - ERR("DocumentPropertiesW on printer '%s' failed!\n", pi->pPrinterName); + ERR("DocumentPropertiesW on printer '%s' failed!\n", debugstr_w(pi->pPrinterName)); SetLastError(ERROR_UNKNOWN_PRINTER_DRIVER); return 0; }