Commit 5321c3d4 authored by David Bruce's avatar David Bruce

Make word list path message DEBUGCODE

git-svn-id: svn://svn.debian.org/svn/tux4kids/tuxtype/trunk@1666 47d30e19-490b-0410-9d18-e851f4e465b3
parent f3db641d
......@@ -1288,7 +1288,7 @@ static int chooseWordlist(void)
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 @@ static int chooseWordlist(void)
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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment