diff options
Diffstat (limited to 'src/lua.c')
-rw-r--r-- | src/lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua.c b/src/lua.c index 615f92c..7930845 100644 --- a/src/lua.c +++ b/src/lua.c @@ -454,7 +454,7 @@ 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); if (strcmp(key, "__teliva_undo") == 0) { - fprintf(out, " %s = %ld\n", key, lua_tointeger(L, -1)); + fprintf(out, " %s = %ld,\n", key, lua_tointeger(L, -1)); continue; } const char* value = lua_tostring(L, -1); |