Mercurial > audlegacy-plugins
diff src/gio/gio.c @ 3091:2bd8895c9fe0
gio: if we ungetc(), then our position moves backwards by the number of ungetc()'d bytes.
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Thu, 30 Apr 2009 06:50:27 -0500 |
| parents | f333e6df5fa9 |
| children | 1e39f795348c |
line wrap: on
line diff
--- a/src/gio/gio.c Thu Apr 30 06:42:30 2009 -0500 +++ b/src/gio/gio.c Thu Apr 30 06:50:27 2009 -0500 @@ -243,7 +243,7 @@ handle = (VFSGIOHandle *) file->handle; - return (glong) g_seekable_tell(handle->seekable); + return (glong) (g_seekable_tell(handle->seekable) - g_slist_length(handle->stream_stack)); } gboolean
