From cc5676c7baac6177e27edfa5553770f62bdc5212 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sun, 24 May 2009 08:32:12 +0000 Subject: [PATCH] Fixed assertion in glk_stream_set_position() git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@79 ddfedd41-794f-dd11-ae45-00112f111e67 --- libchimara/strio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libchimara/strio.c b/libchimara/strio.c index 921b75c..a33f13f 100644 --- a/libchimara/strio.c +++ b/libchimara/strio.c @@ -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)); - g_return_if_fail(!(seekmode == seekmode_End || pos > 0)); + g_return_if_fail(!(seekmode == seekmode_End && pos > 0)); switch(str->type) { -- 2.30.2