summaryrefslogtreecommitdiffstats
path: root/apps/plugins/snow.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2004-10-16 07:18:59 +0000
committerJens Arnold <amiconn@rockbox.org>2004-10-16 07:18:59 +0000
commit3ccbb165c1092881bf5919fc4f6c213060580a62 (patch)
tree88662a90fbb4e170a774315045abc6e92dea1906 /apps/plugins/snow.c
parentcc8cff2ec02caf29b7d0cf565e1f9e2ebd9b0e99 (diff)
downloadrockbox-3ccbb165c1092881bf5919fc4f6c213060580a62.tar.gz
rockbox-3ccbb165c1092881bf5919fc4f6c213060580a62.tar.bz2
rockbox-3ccbb165c1092881bf5919fc4f6c213060580a62.zip
Fixed return value
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5292 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/snow.c')
-rw-r--r--apps/plugins/snow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/snow.c b/apps/plugins/snow.c
index 77ec350654..3ef34bb8b8 100644
--- a/apps/plugins/snow.c
+++ b/apps/plugins/snow.c
@@ -107,7 +107,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
button = rb->button_get(false);
if (button == BUTTON_OFF)
- return false;
+ return PLUGIN_OK;
else
if (rb->default_event_handler(button) == SYS_USB_CONNECTED)
return PLUGIN_USB_CONNECTED;