X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=libchimara%2Fstrio.c;h=41146f24fd6613bb159cc7d653093bcbaf5f5835;hb=f41ab9623262fea0090d817ad43e50feb640b2c9;hp=b0d0fd16582dbc8f480391cf8288e081605ec01f;hpb=d96242109ab9b5847d71565ed5bb809945ef8428;p=projects%2Fchimara%2Fchimara.git 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 */ }