From 10ab98a9202ab89184eeb405a64dbfefd61fffef Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Thu, 22 Mar 2012 22:11:33 +0100 Subject: [PATCH] minor corrections --- source/Menus/menu_main.cpp | 3 +-- source/Prompts/prompt_app_info.cpp | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/source/Menus/menu_main.cpp b/source/Menus/menu_main.cpp index 084042b..53179ad 100644 --- a/source/Menus/menu_main.cpp +++ b/source/Menus/menu_main.cpp @@ -387,8 +387,7 @@ int MenuMain() // device symbol anzeigen GuiImage * viewdevice = NULL; - if((Options.device_icon == 1 || Options.device_icon == 3 || Options.device_icon == 5) - && (Settings.device == "sd_usb" || Settings.device == "all")) + if((Options.device_icon == 1 || Options.device_icon == 3) && (Settings.device == "sd_usb" || Settings.device == "all")) { bool icon = false; if(strncmp(vechomebrew_list_choice[i].foldername.c_str(), "sd", 2) == 0) diff --git a/source/Prompts/prompt_app_info.cpp b/source/Prompts/prompt_app_info.cpp index f373d93..5adb6e9 100644 --- a/source/Prompts/prompt_app_info.cpp +++ b/source/Prompts/prompt_app_info.cpp @@ -60,8 +60,7 @@ AppInfo(const char *title, string dir, u8* icon) GuiImage * viewdevice = NULL; - - if((Options.device_icon == 2 || Options.device_icon == 3 || Options.device_icon == 5) && (Settings.device == "sd_usb" || Settings.device == "all")) + if((Options.device_icon == 2 || Options.device_icon == 3) && (Settings.device == "sd_usb" || Settings.device == "all")) { bool icon = false; if(strncmp(dir.c_str(), "sd", 2) == 0) @@ -156,7 +155,7 @@ AppInfo(const char *title, string dir, u8* icon) GuiButton edit(editBtn.GetWidth(), editBtn.GetHeight()); edit.SetAlignment(ALIGN_LEFT, ALIGN_TOP); if(icon) - edit.SetPosition(48, 14); + edit.SetPosition(48, 15); else edit.SetPosition(10, 10); edit.SetImage(&editBtnImg);