Detlef Riekenberg : comdlg32/tests: Remove debug code and the tabs.

Alexandre Julliard julliard at winehq.org
Tue Sep 25 07:50:54 CDT 2007


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

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Mon Sep 24 21:18:10 2007 +0200

comdlg32/tests: Remove debug code and the tabs.

---

 dlls/comdlg32/tests/printdlg.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/comdlg32/tests/printdlg.c b/dlls/comdlg32/tests/printdlg.c
index 98c5cd0..6827cb0 100644
--- a/dlls/comdlg32/tests/printdlg.c
+++ b/dlls/comdlg32/tests/printdlg.c
@@ -77,16 +77,16 @@ static void test_PageSetupDlgA(void)
     pDlg->Flags = PSD_RETURNDEFAULT;
     SetLastError(0xdeadbeef);
     res = PageSetupDlgA(pDlg);
-    trace("after pagesetupdlga res = %d, le %d, ext error 0x%x\n",
-	res, GetLastError(), CommDlgExtendedError());
     ok( res || (CommDlgExtendedError() == PDERR_NODEFAULTPRN),
         "returned %u with %u and 0x%x (expected '!= 0' or '0' and "
         "PDERR_NODEFAULTPRN)\n", res, GetLastError(), CommDlgExtendedError());
+
     if (!res && (CommDlgExtendedError() == PDERR_NODEFAULTPRN)) {
-	skip("No printer configured.\n");
-	HeapFree(GetProcessHeap(), 0, pDlg);
-	return;
+        skip("No printer configured.\n");
+        HeapFree(GetProcessHeap(), 0, pDlg);
+        return;
     }
+
     ok( pDlg->hDevMode && pDlg->hDevNames,
         "got %p and %p (expected '!= NULL' for both)\n",
         pDlg->hDevMode, pDlg->hDevNames);




More information about the wine-cvs mailing list