diff options
Diffstat (limited to 'gio/gbufferedinputstream.c')
-rw-r--r-- | gio/gbufferedinputstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gbufferedinputstream.c b/gio/gbufferedinputstream.c index 040ce3b38..4ffdff73e 100644 --- a/gio/gbufferedinputstream.c +++ b/gio/gbufferedinputstream.c @@ -878,7 +878,7 @@ g_buffered_input_stream_read_byte (GBufferedInputStream *stream, available = priv->end - priv->pos; - if (available < 1) + if (available != 0) { g_input_stream_clear_pending (input_stream); return priv->buffer[priv->pos++]; |