summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenzo Miori <memorys60@gmail.com>2013-07-24 11:56:10 +0200
committerBertrik Sikken <bertrik@sikken.nl>2013-08-12 10:35:48 +0200
commitc01a728c5ab321c73e4ef18349199d54bbef7dbb (patch)
tree42f1a69309e24e379b25e0049b3c96c9903128c9
parent737dafe7dfbc6c1e3dc54d8685bc5dffbcf13342 (diff)
downloadrockbox-c01a728.tar.gz
rockbox-c01a728.zip
Cube plugin fix
This small patch aims to fix a trivial problem: when exiting the "cube" plugin in a hosted environment (at least on YP-R0) this caused the whole program, and consequently also the player, to be turned off. I don't know why the exit() function was used here... Change-Id: I7b58d4ca5c01c230f2c53204b51ec553c5fe1287 Reviewed-on: http://gerrit.rockbox.org/321 Reviewed-by: Bertrik Sikken <bertrik@sikken.nl>
-rw-r--r--apps/plugins/cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 34252e857e..d46e20c23e 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -902,7 +902,7 @@ enum plugin_status plugin_start(const void* parameter)
case CUBE_RC_QUIT:
#endif
case CUBE_QUIT:
- exit(EXIT_SUCCESS);
+ quit = true;
break;
default: