Commit: 0fc1f28a22a816fc88eee18b19a9be495d4e467f
Parent: 578953d18b338e0ca9c9ca1c6e0fc7bdfaad539f
Author: opask
Date: Mon, 13 Aug 2018 18:56:24 -0600
fix mistake
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/session.c b/session.c
@@ -2932,7 +2932,7 @@ void win_func(struct window *win, struct links_event *ev, int fw)
break;
case EV_INIT:
ses = win->data = create_session(win);
- if (read_session_info(ses, (char *)(ev->b + sizeof(int)), ev->b)) {
+ if (read_session_info(ses, (char *)(ev->b + sizeof(int)), *(int *)ev->b)) {
register_bottom_half(destroy_terminal, win->term);
return;
}