changeset 3140:732abc5c1714 trunk

Fix VFSBufferedFile::fsize().
author William Pitcock <nenolod@atheme-project.org>
date Sat, 21 Jul 2007 19:02:49 -0500
parents c7fca96bfc78
children a2f1d831065f 84c44d369969
files src/audacious/vfs_buffered_file.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/vfs_buffered_file.c	Sat Jul 21 15:50:38 2007 -0500
+++ b/src/audacious/vfs_buffered_file.c	Sat Jul 21 19:02:49 2007 -0500
@@ -182,7 +182,7 @@
 {
     VFSBufferedFile *handle = (VFSBufferedFile *) file->handle;
 
-    return vfs_fsize(handle->which == TRUE ? handle->fd : handle->buffer);
+    return vfs_fsize(handle->fd);
 }
 
 gchar *