From: Philip Chimento Date: Wed, 6 Jul 2011 20:59:58 +0000 (+0200) Subject: Fix semicolon typo in seeking code X-Git-Tag: v0.9~69 X-Git-Url: https://git.stderr.nl/gitweb?p=projects%2Fchimara%2Fchimara.git;a=commitdiff_plain;h=f41ab9623262fea0090d817ad43e50feb640b2c9 Fix semicolon typo in seeking code --- diff --git a/libchimara/strio.c b/libchimara/strio.c index b0d0fd1..41146f2 100644 --- a/libchimara/strio.c +++ b/libchimara/strio.c @@ -636,7 +636,7 @@ is_unicode_newline(glsi32 ch, strid_t str, gboolean utf8) glsi32 ch2 = utf8? read_utf8_char_from_file(str) : read_ucs4be_char_from_file(str); if(ch2 != 0x0A) { - if(fseek(str->file_pointer, utf8? -1 : -4, SEEK_CUR) == -1); + if(fseek(str->file_pointer, utf8? -1 : -4, SEEK_CUR) == -1) WARNING_S("Seek failed on stream", g_strerror(errno) ); str->lastop = 0; /* can read or write after a seek */ }