projects
/
projects
/
chimara
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed bug - glk_set_window(NULL) doesn't crash anymore
[projects/chimara/chimara.git]
/
libchimara
/
strio.c
diff --git
a/libchimara/strio.c
b/libchimara/strio.c
index 921b75cc771f0331828220061dbfc9030726fcd1..4d410cdfbaa344c61cf772b841a506bda7ea7c7b 100644
(file)
--- a/
libchimara/strio.c
+++ b/
libchimara/strio.c
@@
-1109,7
+1109,7
@@
glk_stream_get_position(strid_t str)
* glk_stream_set_position:
* @str: A file or memory stream.
* @pos: The position to set the mark to, relative to @seekmode.
* glk_stream_set_position:
* @str: A file or memory stream.
* @pos: The position to set the mark to, relative to @seekmode.
- * @seekmode: One of
#seekmode_Start, #seekmode_Current, or #
seekmode_End.
+ * @seekmode: One of
%seekmode_Start, %seekmode_Current, or %
seekmode_End.
*
* Sets the position of the read/write mark in @str. The position is controlled
* by @pos, and the meaning of @pos is controlled by @seekmode. See the
*
* Sets the position of the read/write mark in @str. The position is controlled
* by @pos, and the meaning of @pos is controlled by @seekmode. See the
@@
-1136,7
+1136,7
@@
glk_stream_set_position(strid_t str, glsi32 pos, glui32 seekmode)
{
VALID_STREAM(str, return);
g_return_if_fail(!(seekmode == seekmode_Start && pos < 0));
{
VALID_STREAM(str, return);
g_return_if_fail(!(seekmode == seekmode_Start && pos < 0));
- g_return_if_fail(!(seekmode == seekmode_End
||
pos > 0));
+ g_return_if_fail(!(seekmode == seekmode_End
&&
pos > 0));
switch(str->type)
{
switch(str->type)
{