diff options
author | deva <deva> | 2008-06-09 13:48:06 +0000 |
---|---|---|
committer | deva <deva> | 2008-06-09 13:48:06 +0000 |
commit | 775021103ccd27d8be5aa92cc3cd21ce6c547c48 (patch) | |
tree | d19599a96933b812549d90d6a6da6fbaad4d5c8d /client/lua.cc | |
parent | 4d39f5e52e1ca9e26a397eb4bcc2fe7bad18cdfe (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.cc | 2 |
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"); |