about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-09-08 18:38:26 +0000
committerMarco Peereboom <marco@conformal.com>2011-09-08 18:38:26 +0000
commit87b9b768a115e770442fe4d7bfe87ff32c95bda0 (patch)
tree5378493942904387e24ed6c32084db38702bcb66
parent7a52d2db32f371030f3b00699a0bc231456dd436 (diff)
downloadxombrero-87b9b768a115e770442fe4d7bfe87ff32c95bda0.tar.gz
make sure anchors in sessions don't get killed when loaded.
From: Luis Useche <useche@gmail.com>
-rw-r--r--xxxterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index d54b8d1..c9a4780 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -2542,7 +2542,7 @@ open_tabs(struct tab *t, struct karg *a)
 	ti = TAILQ_LAST(&tabs, tab_list);
 
 	for (;;) {
-		if ((uri = fparseln(f, NULL, NULL, NULL, 0)) == NULL)
+		if ((uri = fparseln(f, NULL, NULL, "\0\0\0", 0)) == NULL)
 			if (feof(f) || ferror(f))
 				break;