diff options
-rw-r--r-- | siv.c | 2 | ||||
-rw-r--r-- | window.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -248,7 +248,7 @@ app_new (int argc, char **argv) if (g_path_is_absolute (option)) { - name = option; + name = g_strdup (option); } else { @@ -238,11 +238,11 @@ save_meta_data (Window *window) vadj = gtk_scrolled_window_get_vadjustment (get_widget (window, "scrolled_window")); hadj = gtk_scrolled_window_get_hadjustment (get_widget (window, "scrolled_window")); - + app_set_meta_data (window->app, window->filename, x, y, width, height, - bg, smooth, + smooth, bg, window->zoom_level, vadj->value, hadj->value); } |