[Tux4kids-commits] r1129 - tuxmath/trunk/src

B. Luchen cheezmeister-guest at alioth.debian.org
Thu Jul 2 02:54:52 UTC 2009


Author: cheezmeister-guest
Date: 2009-07-02 02:54:52 +0000 (Thu, 02 Jul 2009)
New Revision: 1129

Modified:
   tuxmath/trunk/src/globals.h
Log:
Lazy port of tmdprinf to DEBUGMSG

Modified: tuxmath/trunk/src/globals.h
===================================================================
--- tuxmath/trunk/src/globals.h	2009-07-01 23:20:41 UTC (rev 1128)
+++ tuxmath/trunk/src/globals.h	2009-07-02 02:54:52 UTC (rev 1129)
@@ -37,13 +37,10 @@
 /* for Tim's feedback speed control code           */
 //#define FEEDBACK_DEBUG
 //#define LINEBREAK
-/* nice inline debugging macro */
-#ifdef TUXMATH_DEBUG
-#define tmdprintf(...) printf(__VA_ARGS__)
-#else
-#define tmdprintf(...) 0
-#endif
 
+/* deprecated ;) */
+#define tmdprintf(...) DEBUGMSG(debug_all, __VA_ARGS__)
+
 /* debug data (declared in options.c) */
 extern int debug_status;
 




More information about the Tux4kids-commits mailing list