diff options
author | zhuyaliang <[email protected]> | 2023-05-12 16:51:11 +0800 |
---|---|---|
committer | Luke from DC <[email protected]> | 2023-05-13 00:45:34 +0000 |
commit | 9cbea8d2e8f14ea4477c21d8fdf14d58ec00f6a9 (patch) | |
tree | 93f9bc39f8983e86c7005fdd015179bd12dcd4d9 /src/main.c | |
parent | 2cd5fa803bba18be69a06d6b1342491a7524e0a1 (diff) | |
download | engrampa-9cbea8d2e8f14ea4477c21d8fdf14d58ec00f6a9.tar.bz2 engrampa-9cbea8d2e8f14ea4477c21d8fdf14d58ec00f6a9.tar.xz |
Fix failed restore of saved sessions
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -284,7 +284,7 @@ fr_save_state (EggSMClient *client, GKeyFile *state, gpointer user_data) FrWindow *session = window->data; gchar *key; - key = g_strdup_printf ("archive%d", i); + key = g_strdup_printf ("archive%d", i+1); if ((session->archive == NULL) || (session->archive->file == NULL)) { g_key_file_set_string (state, "Session", key, ""); } |