summaryrefslogtreecommitdiff
path: root/client/lua.cc
diff options
context:
space:
mode:
authordeva <deva>2008-06-09 13:48:06 +0000
committerdeva <deva>2008-06-09 13:48:06 +0000
commit775021103ccd27d8be5aa92cc3cd21ce6c547c48 (patch)
treed19599a96933b812549d90d6a6da6fbaad4d5c8d /client/lua.cc
parent4d39f5e52e1ca9e26a397eb4bcc2fe7bad18cdfe (diff)
Added xml encoding of the lua programs to make sure they are not interrupting the xml.
Diffstat (limited to 'client/lua.cc')
-rw-r--r--client/lua.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/lua.cc b/client/lua.cc
index abd834d..1be850c 100644
--- a/client/lua.cc
+++ b/client/lua.cc
@@ -136,6 +136,8 @@ bool LUA::run(QString program, QString name, QString value)
if(macrowindow->luaprograms.contains(program) == false) return false;
+ printf("%s\n", macrowindow->luaprograms.value(program).toStdString().c_str());
+
lua_pushstring(L, value.toStdString().c_str());
lua_setglobal(L, "value");