From bc8aba85a7b7c0acc6b9da3460c69b708cb4e409 Mon Sep 17 00:00:00 2001 From: fliep Date: Sun, 3 May 2009 17:38:35 +0000 Subject: [PATCH] Fixed a bug: pair windows need window streams too, even though they don't print --- src/window.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/window.c b/src/window.c index 6ae9f55..053bb48 100644 --- a/src/window.c +++ b/src/window.c @@ -469,7 +469,8 @@ glk_window_open(winid_t split, glui32 method, glui32 size, glui32 wintype, pair->rock = 0; pair->type = wintype_Pair; pair->window_node = g_node_new(pair); - pair->window_stream = NULL; + /* You can print to a pair window's window stream, but it has no effect */ + pair->window_stream = window_stream_new(pair); pair->echo_stream = NULL; /* The pair window must know about its children's split method */ -- 2.30.2