diff options
author | phelin <phelin> | 2007-11-25 19:01:45 +0000 |
---|---|---|
committer | phelin <phelin> | 2007-11-25 19:01:45 +0000 |
commit | ed2e479666c8a082fea648b0df4984b840c0ee98 (patch) | |
tree | 430cb50c26edb2f37dabb78a7cff28a4d6ba6564 | |
parent | 592e9642b2cd1873156f2d76248556f09edac39b (diff) | |
download | xineliboutput-ed2e479666c8a082fea648b0df4984b840c0ee98.tar.gz xineliboutput-ed2e479666c8a082fea648b0df4984b840c0ee98.tar.bz2 |
Change the function of the back key for the media player.
Now it does not end the replay but returns to the previous directory.
-rw-r--r-- | media_player.c | 5 |
1 files 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(); |