minor corrections

This commit is contained in:
Christopher Roy Bratusek 2012-03-22 22:11:33 +01:00
parent 7e47f0b714
commit 10ab98a920
2 changed files with 3 additions and 5 deletions

View File

@ -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)

View File

@ -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);