summaryrefslogtreecommitdiff
path: root/src/screen
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen')
-rw-r--r--src/screen/screen_gameType.c6
-rw-r--r--src/screen/screen_world.c4
2 files changed, 4 insertions, 6 deletions
diff --git a/src/screen/screen_gameType.c b/src/screen/screen_gameType.c
index 0cf8be0..ccfbe15 100644
--- a/src/screen/screen_gameType.c
+++ b/src/screen/screen_gameType.c
@@ -353,9 +353,9 @@ int getSettingProto()
if (strstr(getTextFromWidgetTextfield(textfield_ip), ":") != NULL) {
return PROTO_UDPv6;
}
-#ifdef DEBUG
- printf(_("Unknown IP protocol!\n"));
-#endif
+
+ DEBUG_MSG(_("Unknown IP protocol!\n"));
+
return -1;
}
diff --git a/src/screen/screen_world.c b/src/screen/screen_world.c
index a2d0baf..08cfa82 100644
--- a/src/screen/screen_world.c
+++ b/src/screen/screen_world.c
@@ -600,8 +600,6 @@ void initWorld()
void quitWorld()
{
-#ifdef DEBUG
- printf(_("Quitting screen world\n"));
-#endif
+ DEBUG_MSG(_("Quitting screen world\n"));
isScreenWorldInit = FALSE;
}