From ed2e479666c8a082fea648b0df4984b840c0ee98 Mon Sep 17 00:00:00 2001 From: phelin Date: Sun, 25 Nov 2007 19:01:45 +0000 Subject: Change the function of the back key for the media player. Now it does not end the replay but returns to the previous directory. --- media_player.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/media_player.c b/media_player.c index 87256d98..6c641855 100644 --- a/media_player.c +++ b/media_player.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: media_player.c,v 1.37 2007-11-25 18:46:04 phelin Exp $ + * $Id: media_player.c,v 1.38 2007-11-25 19:01:45 phelin Exp $ * */ @@ -652,9 +652,8 @@ eOSState cXinelibPlayerControl::ProcessKey(eKeys Key) switch(Key) { case kBack: xc.main_menu_mode = m_Mode; Hide(); - Close(); BackToMenu(); - return osEnd; + break; case kStop: case kBlue: Hide(); Close(); -- cgit v1.2.3