diff options
Diffstat (limited to 'src/lua.c')
-rw-r--r-- | src/lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.c b/src/lua.c index 7108fa7..ae1e203 100644 --- a/src/lua.c +++ b/src/lua.c @@ -345,9 +345,9 @@ static void save_image (lua_State *L) { for (lua_pushnil(L); lua_next(L, table) != 0; lua_pop(L, 1)) { const char* key = lua_tostring(L, -2); const char* value = lua_tostring(L, -1); - fprintf(fp, " %s = [[", key); + fprintf(fp, " %s = [==[", key); fprintf(fp, "%s", value); - fprintf(fp, "]],\n"); + fprintf(fp, "]==],\n"); } fprintf(fp, "}\n"); fclose(fp); |