From: Philip Chimento Date: Sun, 24 May 2009 08:32:12 +0000 (+0000) Subject: Fixed assertion in glk_stream_set_position() X-Git-Url: https://git.stderr.nl/gitweb?p=rodin%2Fchimara.git;a=commitdiff_plain;h=cc5676c7baac6177e27edfa5553770f62bdc5212 Fixed assertion in glk_stream_set_position() git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@79 ddfedd41-794f-dd11-ae45-00112f111e67 --- 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) {