projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glk_set_window(NULL) should not be allowed
[rodin/chimara.git]
/
libchimara
/
window.c
diff --git
a/libchimara/window.c
b/libchimara/window.c
index 5fd2447421d0d60d7af4d19842ad083b9486e659..4db770659a952fff583c673cb74f7770588c3090 100644
(file)
--- 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
* @win: A window.
*
* Sets the current stream to @win's window stream. It is exactly equivalent to
- * <code>#glk_stream_set_current(#glk_window_get_stream(@win))</code>.
+ * |[ #glk_stream_set_current(#glk_window_get_stream(@win)) ]|
+ * See <link linkend="chimara-Streams">Streams</link>.
*/
void
glk_set_window(winid_t win)
{
*/
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) );
}
glk_stream_set_current( glk_window_get_stream(win) );
}