X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fwindow.c;h=4db770659a952fff583c673cb74f7770588c3090;hb=e887e681be593844f5b785cab709d6c5a63f175f;hp=5fd2447421d0d60d7af4d19842ad083b9486e659;hpb=4a9f39f7dba083f0233c3de7166710f86417ceec;p=rodin%2Fchimara.git diff --git a/libchimara/window.c b/libchimara/window.c index 5fd2447..4db7706 100644 --- a/libchimara/window.c +++ b/libchimara/window.c @@ -873,12 +873,13 @@ glk_window_clear(winid_t win) * @win: A window. * * Sets the current stream to @win's window stream. It is exactly equivalent to - * #glk_stream_set_current(#glk_window_get_stream(@win)). + * |[ #glk_stream_set_current(#glk_window_get_stream(@win)) ]| + * See Streams. */ void glk_set_window(winid_t win) { - VALID_WINDOW_OR_NULL(win, return); + VALID_WINDOW(win, return); glk_stream_set_current( glk_window_get_stream(win) ); }