Fix semicolon typo in seeking code
authorPhilip Chimento <philip.chimento@gmail.com>
Wed, 6 Jul 2011 20:59:58 +0000 (22:59 +0200)
committerPhilip Chimento <philip.chimento@gmail.com>
Wed, 6 Jul 2011 20:59:58 +0000 (22:59 +0200)
libchimara/strio.c

index b0d0fd16582dbc8f480391cf8288e081605ec01f..41146f24fd6613bb159cc7d653093bcbaf5f5835 100644 (file)
@@ -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 */
                }