mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Remove N/A
This commit is contained in:
1 parent
8825eb9ac6
commit
c1e5f23d72
1 file changed
+4
-4
+4
-4
@@ -974,9 +974,9 @@ void UI_DisplayMenu(void)
|
||||
|
||||
// If first character is empty/invalid, display "N/A"
|
||||
if (name[0] == '\0' || name[0] == '\xff' || name[0] == ' ')
|
||||
sprintf(String, "%02u - N/A", gSubMenuSelection);
|
||||
sprintf(String, "%02u", gSubMenuSelection);
|
||||
else
|
||||
sprintf(String, "%02u - %.3s", gSubMenuSelection, name);
|
||||
sprintf(String, "%02u (%.3s)", gSubMenuSelection, name);
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -987,9 +987,9 @@ void UI_DisplayMenu(void)
|
||||
const char *name = gListName[gSubMenuSelection - 1];
|
||||
// If first character is empty/invalid, display "N/A"
|
||||
if (name[0] == '\0' || name[0] == '\xff' || name[0] == ' ')
|
||||
sprintf(String, "%02u - N/A", gSubMenuSelection);
|
||||
sprintf(String, "%02u", gSubMenuSelection);
|
||||
else
|
||||
sprintf(String, "%02u - %.3s", gSubMenuSelection, name);
|
||||
sprintf(String, "%02u (%.3s)", gSubMenuSelection, name);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user