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~47^2~11 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;ds=inline;h=02fe9bcc172622d8dc62d6f6104ab272b80257fc;hp=88bd3ce92004750c2689537cf1fa9a8211ad9189;p=projects%2Fchimara%2Fchimara.git 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 */ }