From 775021103ccd27d8be5aa92cc3cd21ce6c547c48 Mon Sep 17 00:00:00 2001 From: deva Date: Mon, 9 Jun 2008 13:48:06 +0000 Subject: Added xml encoding of the lua programs to make sure they are not interrupting the xml. --- client/lua.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client') 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"); -- cgit v1.2.3