From f41ab9623262fea0090d817ad43e50feb640b2c9 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Wed, 6 Jul 2011 22:59:58 +0200 Subject: [PATCH] Fix semicolon typo in seeking code --- libchimara/strio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ } -- 2.30.2