From 3dcfbc0945c85c66a62aa1c2186c9025bc8c6c52 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 29 Jun 2008 06:48:07 +0000 Subject: [PATCH] Accept FS#9111 - only exit te stats plugin if the exit button is pressed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17866 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/stats.c | 4 ++-- docs/CREDITS | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/plugins/stats.c b/apps/plugins/stats.c index 942dd83de5..21d7862541 100644 --- a/apps/plugins/stats.c +++ b/apps/plugins/stats.c @@ -215,8 +215,8 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame rb->backlight_on(); rb->splash(HZ, "Done"); update_screen(); - button = rb->button_get(true); while (1) { + button = rb->button_get(true); switch (button) { #ifdef HAVE_REMOTE_LCD case STATS_STOP_REMOTE: @@ -230,6 +230,6 @@ enum plugin_status plugin_start(const struct plugin_api* api, const void* parame } break; } - return PLUGIN_OK; } + return PLUGIN_OK; } diff --git a/docs/CREDITS b/docs/CREDITS index b9d874b326..131aebaf21 100644 --- a/docs/CREDITS +++ b/docs/CREDITS @@ -394,6 +394,7 @@ Davide Gentile James Vasile Mohamed Tarek Mike Burke +Michael Chicoine The libmad team The wavpack team