[Tux4kids-commits] r1666 - tuxtype/trunk/src

David Bruce dbruce-guest at alioth.debian.org
Fri Nov 20 19:53:32 UTC 2009


Author: dbruce-guest
Date: 2009-11-20 19:53:32 +0000 (Fri, 20 Nov 2009)
New Revision: 1666

Modified:
   tuxtype/trunk/src/titlescreen.c
Log:
Make word list path message DEBUGCODE

Modified: tuxtype/trunk/src/titlescreen.c
===================================================================
--- tuxtype/trunk/src/titlescreen.c	2009-11-20 19:53:29 UTC (rev 1665)
+++ tuxtype/trunk/src/titlescreen.c	2009-11-20 19:53:32 UTC (rev 1666)
@@ -1288,7 +1288,7 @@
   sprintf(wordPath,"%s/words", settings.var_data_path);
   if (!CheckFile(wordPath))
   {
-    fprintf(stderr, "chooseWordList() -  path \"%s\" not found\n", wordPath);
+    DEBUGCODE { fprintf(stderr, "chooseWordList() -  path \"%s\" not found\n", wordPath); }
   }
   else
   {
@@ -1342,7 +1342,7 @@
   sprintf(wordPath,"%s/words", settings.user_settings_path);
   if (!CheckFile(wordPath))
   {
-    fprintf(stderr, "chooseWordList() -  path \"%s\" not found\n", wordPath);
+    DEBUGCODE { fprintf(stderr, "chooseWordList() -  path \"%s\" not found\n", wordPath); }
   }
   else
   {




More information about the Tux4kids-commits mailing list