diff options
-rw-r--r-- | setup_menu.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/setup_menu.c b/setup_menu.c index 73007fba..efd328c7 100644 --- a/setup_menu.c +++ b/setup_menu.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: setup_menu.c,v 1.13 2006-09-20 09:06:13 phintuka Exp $ + * $Id: setup_menu.c,v 1.14 2006-10-13 12:50:23 phintuka Exp $ * */ @@ -1488,16 +1488,16 @@ eOSState cMenuTestImages::ProcessKey(eKeys Key) switch (state) { case osUser1: - g_PendingMenuAction = new cTestGrayscale(); - cRemote::CallPlugin("xineliboutput"); + if(cRemote::CallPlugin("xineliboutput")) + g_PendingMenuAction = new cTestGrayscale(); return osEnd; case osUser2: - g_PendingMenuAction = new cTestBitmap(1); - cRemote::CallPlugin("xineliboutput"); + if(cRemote::CallPlugin("xineliboutput")) + g_PendingMenuAction = new cTestBitmap(1); return osEnd; case osUser3: - g_PendingMenuAction = new cTestBitmap(4); - cRemote::CallPlugin("xineliboutput"); + if(cRemote::CallPlugin("xineliboutput")) + g_PendingMenuAction = new cTestBitmap(4); return osEnd; default: ; } |