Mercurial > audlegacy
changeset 2425:5b1b26db3a37 trunk
[svn] - fix an error
author | nenolod |
---|---|
date | Sat, 27 Jan 2007 05:01:55 -0800 |
parents | 3e3d34173207 |
children | 193bae6b2c8f |
files | ChangeLog src/audacious/util.c |
diffstat | 2 files changed, 14 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sat Jan 27 04:51:25 2007 -0800 +++ b/ChangeLog Sat Jan 27 05:01:55 2007 -0800 @@ -1,3 +1,14 @@ +2007-01-27 12:51:25 +0000 William Pitcock <nenolod@sacredspiral.co.uk> + revision [3858] + - vfs_get_file_contents() implementation. + - g_file_get_contents -> vfs_get_file_contents + + trunk/src/audacious/util.c | 2 +- + trunk/src/audacious/vfs.h | 2 ++ + trunk/src/audacious/vfs_common.c | 30 ++++++++++++++++++++++++++++++ + 3 files changed, 33 insertions(+), 1 deletion(-) + + 2007-01-27 12:39:43 +0000 William Pitcock <nenolod@sacredspiral.co.uk> revision [3856] - indentation cleanups
--- a/src/audacious/util.c Sat Jan 27 04:51:25 2007 -0800 +++ b/src/audacious/util.c Sat Jan 27 05:01:55 2007 -0800 @@ -406,7 +406,9 @@ open_buffer = NULL; } - if (!vfs_file_get_contents(filename, &buffer, &filesize)) + vfs_file_get_contents(filename, &buffer, &filesize); + + if (buffer == NULL) return NULL; open_buffer = g_strdup(filename);