Mercurial > audlegacy-plugins
changeset 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 | 528e08654016 |
children | 1e39f795348c |
files | src/gio/gio.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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