summaryrefslogtreecommitdiff
path: root/src/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.c')
-rw-r--r--src/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.c b/src/session.c
index f289b732..798e2e44 100644
--- a/src/session.c
+++ b/src/session.c
@@ -223,7 +223,7 @@ session_restore(char *name, int flags)
int length = g_strv_length(lines) - 1;
for (int i=1; i<=length; i++)
{
- char **line = g_strsplit(lines[i], " ", 4);
+ char **line = g_strsplit(lines[i], " ", 3);
if (line[0] && line[1] && line[2])
{
int current = strtol(line[0], &end, 10);