summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pictureflow
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-05-27 19:27:46 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-05-27 19:27:46 +0000
commit95fb201fac8c65edd157fb3bb2f9e5f3c2915bf9 (patch)
tree8e7e0187a0374d3ea25d9f6afbfc0299d1dab263 /apps/plugins/pictureflow
parent9e21a4250972b2b63724978a89c060facbc059da (diff)
downloadrockbox-95fb201fac8c65edd157fb3bb2f9e5f3c2915bf9.tar.gz
rockbox-95fb201fac8c65edd157fb3bb2f9e5f3c2915bf9.tar.bz2
rockbox-95fb201fac8c65edd157fb3bb2f9e5f3c2915bf9.zip
Commit next part of FS#10138 by Teruaki Kawashima. Fixes mistaken error return value in pictureflow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21101 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pictureflow')
-rw-r--r--apps/plugins/pictureflow/pictureflow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index bbe2541681..8d3af8112d 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -2556,7 +2556,7 @@ int main(void)
#endif
ret = main_menu();
if ( ret == -1 ) return PLUGIN_OK;
- if ( ret != 0 ) return i;
+ if ( ret != 0 ) return ret;
#ifdef USEGSLIB
grey_show(true);
#endif