summaryrefslogtreecommitdiff
path: root/trunk/example.c
diff options
context:
space:
mode:
authorJames Shaw <jshaw@netsurf-browser.org>2008-03-23 22:31:30 +0000
committerJames Shaw <jshaw@netsurf-browser.org>2008-03-23 22:31:30 +0000
commit4016cfba2d954196a9b4d7fe19d3b16d4c78b748 (patch)
tree23552c31b99a0169e3540426f79b3a1ae1ef3f13 /trunk/example.c
parent6cb9eccf4902695aa9c84119e8608b0392e88791 (diff)
downloadlibrosprite-4016cfba2d954196a9b4d7fe19d3b16d4c78b748.tar.gz
Rename load_file to just load(), since we can now load from any source
svn path=/import/jshaw/libsprite/; revision=10013
Diffstat (limited to 'trunk/example.c')
-rw-r--r--trunk/example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/example.c b/trunk/example.c
index b7baaf3..7325c4a 100644
--- a/trunk/example.c
+++ b/trunk/example.c
@@ -57,7 +57,7 @@ int main(int argc, char *argv[])
printf("Loading %s\n", filename);
- struct rosprite_area* sprite_area = rosprite_load_file(rosprite_file_reader, ctx);
+ struct rosprite_area* sprite_area = rosprite_load(rosprite_file_reader, ctx);
printf("sprite_count %u\n", sprite_area->sprite_count);
printf("extension_size %u\n", sprite_area->extension_size);