summaryrefslogtreecommitdiff
path: root/client/lua.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/lua.cc')
-rw-r--r--client/lua.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/lua.cc b/client/lua.cc
index 062e520..eb9b8a3 100644
--- a/client/lua.cc
+++ b/client/lua.cc
@@ -32,8 +32,8 @@
#include "luawidget.h"
-#define DEBUG(fmt...) printf("LUA (%p)", this); printf(fmt); fflush(stdout)
-//#define DEBUG(ftm...)
+//#define DEBUG(fmt...) printf("LUA (%p)", this); printf(fmt); fflush(stdout)
+#define DEBUG(ftm...)
#define GLOBAL_POINTER "_pracroGlobalLUAObjectPointerThisShouldBeANameThatIsNotAccidentallyOverwritten"
@@ -184,7 +184,7 @@ bool LUA::runScript(QString script, Widget *widget, QString name)
void LUA::error(QString message)
{
- DEBUG("LUA ERROR: %s\n", message.toStdString().c_str());
+ printf("LUA ERROR: %s\n", message.toStdString().c_str());
}
Widget *LUA::getWidget(QString name)