summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2014-03-10 02:52:01 +0100
committerportix <portix@gmx.net>2014-03-10 02:52:01 +0100
commit3ee9de9b5b07cdbb82096e7b8d2300919eefbe3a (patch)
tree7aa652012ac5bb8cbb1779fcbd5fbb6e6260048b
parent6bcf8f283ac5a15117116c7fc3f7b28a8425837b (diff)
downloaddwb-3ee9de9b5b07cdbb82096e7b8d2300919eefbe3a.zip
Split session history into 3 token, fixes wrong history titles applied to recreated webviews
-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);