summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mp_msg.c b/mp_msg.c
index 9eb63e4894..2f9f32c098 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -12,11 +12,11 @@ extern char* get_term_charset(void);
#endif
#if defined(FOR_MENCODER)
-#undef HAVE_NEW_GUI
+#undef CONFIG_GUI
int use_gui;
#endif
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
#include "gui/interface.h"
#endif
#include "mp_msg.h"
@@ -179,7 +179,7 @@ void mp_msg(int mod, int lev, const char *format, ... ){
tmp[MSGSIZE_MAX-2] = '\n';
tmp[MSGSIZE_MAX-1] = 0;
-#ifdef HAVE_NEW_GUI
+#ifdef CONFIG_GUI
if(use_gui)
guiMessageBox(lev, tmp);
#endif