summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2011-01-22 16:19:20 +0000
committerTeruaki Kawashima <teru@rockbox.org>2011-01-22 16:19:20 +0000
commit3ff2fb37c97ba513bf54187a6805aa7f63660857 (patch)
tree21827f4c2fc1c60da542dc6c38a2cf4e69a58404
parent68cc564c9bd327743896cded4a49aad7af0b1d37 (diff)
downloadrockbox-3ff2fb37c97ba513bf54187a6805aa7f63660857.tar.gz
rockbox-3ff2fb37c97ba513bf54187a6805aa7f63660857.zip
revert personal change accidentally included in r29110
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29111 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/imageviewer/image_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/image_decoder.c b/apps/plugins/imageviewer/image_decoder.c
index 0088eb4873..416bda9e42 100644
--- a/apps/plugins/imageviewer/image_decoder.c
+++ b/apps/plugins/imageviewer/image_decoder.c
@@ -127,7 +127,7 @@ const struct image_decoder *load_decoder(struct loader_info *loader_info)
127 release_decoder(); 127 release_decoder();
128 128
129 name = decoder_names[loader_info->type]; 129 name = decoder_names[loader_info->type];
130 rb->snprintf(filename, MAX_PATH, "/rockbox/rocks/viewers" "/%s.ovl", name); 130 rb->snprintf(filename, MAX_PATH, VIEWERS_DIR "/%s.ovl", name);
131 131
132 /* load decoder to the buffer. */ 132 /* load decoder to the buffer. */
133 decoder_handle = rb->lc_open(filename, loader_info->buffer, loader_info->size); 133 decoder_handle = rb->lc_open(filename, loader_info->buffer, loader_info->size);