mirror of
https://gitlab.com/Nanolx/homebrewfilter.git
synced 2024-11-24 10:09:21 +01:00
minor corrections
This commit is contained in:
parent
7e47f0b714
commit
10ab98a920
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user