summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorzhuyaliang <[email protected]>2023-05-12 16:51:11 +0800
committerLuke from DC <[email protected]>2023-05-13 00:45:34 +0000
commit9cbea8d2e8f14ea4477c21d8fdf14d58ec00f6a9 (patch)
tree93f9bc39f8983e86c7005fdd015179bd12dcd4d9 /src/main.c
parent2cd5fa803bba18be69a06d6b1342491a7524e0a1 (diff)
downloadengrampa-9cbea8d2e8f14ea4477c21d8fdf14d58ec00f6a9.tar.bz2
engrampa-9cbea8d2e8f14ea4477c21d8fdf14d58ec00f6a9.tar.xz
Fix failed restore of saved sessions
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a474244..c02d14f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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, "");
}