From c01a728c5ab321c73e4ef18349199d54bbef7dbb Mon Sep 17 00:00:00 2001 From: Lorenzo Miori Date: Wed, 24 Jul 2013 11:56:10 +0200 Subject: 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 --- apps/plugins/cube.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3