[Winpt-commits] r91 - trunk/Src

scm-commit at wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 22 10:23:03 CET 2005


Author: twoaday
Date: 2005-11-22 10:23:02 +0100 (Tue, 22 Nov 2005)
New Revision: 91

Modified:
   trunk/Src/ChangeLog
   trunk/Src/wptCardEditCB.cpp
   trunk/Src/wptTextInputDlg.cpp
Log:
Remove debug output for card code.



Modified: trunk/Src/ChangeLog
===================================================================
--- trunk/Src/ChangeLog	2005-11-22 09:17:59 UTC (rev 90)
+++ trunk/Src/ChangeLog	2005-11-22 09:23:02 UTC (rev 91)
@@ -1,3 +1,8 @@
+2005-11-22  Timo Schulz  <ts at g10code.com>
+
+	* wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
+	macro debug output will be generated in release version.
+	
 2005-11-21  Timo Schulz  <ts at g10code.com>
 
 	* WinPT.cpp (WinMain): Implement --stop switch.

Modified: trunk/Src/wptCardEditCB.cpp
===================================================================
--- trunk/Src/wptCardEditCB.cpp	2005-11-22 09:17:59 UTC (rev 90)
+++ trunk/Src/wptCardEditCB.cpp	2005-11-22 09:23:02 UTC (rev 91)
@@ -43,7 +43,9 @@
     HANDLE hd = (HANDLE)fd;
     DWORD n;
 
+    #if 0 /* debug */
     MessageBox (NULL, (const char*)buf, stat_key, MB_OK);
+    #endif
     WriteFile (hd, buf, buflen, &n, NULL);
     WriteFile (hd, "\n", 1, &n, NULL);
     return n;

Modified: trunk/Src/wptTextInputDlg.cpp
===================================================================
--- trunk/Src/wptTextInputDlg.cpp	2005-11-22 09:17:59 UTC (rev 90)
+++ trunk/Src/wptTextInputDlg.cpp	2005-11-22 09:23:02 UTC (rev 91)
@@ -75,9 +75,7 @@
         ctx = (text_input_s *)lparam;
         if (ctx == NULL)
             dlg_fatal_error (dlg, "Could not get dialog param.");
-	#ifndef LANG_DE
         SetWindowText (dlg, _("Text Input"));
-	#endif
         switch (ctx->type)  {
         case 0: 
 	    SetDlgItemText (dlg, IDC_TEXT_INFO, _("Enter the text that was signed"));



More information about the Winpt-commits mailing list