aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lua.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua.patch b/src/lua.patch
index 0e9f587b..a9498759 100644
--- a/src/lua.patch
+++ b/src/lua.patch
@@ -479,7 +479,7 @@ diff -r 8a23edc91533 src/luaconf.h
+ param = c;
+ if (*c == '"') {
+ param = ++c;
-+ while (*c && *c != '"') c++;
++ while (*c && (*c != '"' || *(c - 1) == '\\')) c++;
+ } else while (*c && *c != ' ') c++;
+ lua_pushlstring(L, param, c - param);
+ lua_rawseti(L, -2, lua_rawlen(L, -2) + 1);