mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
GuiMenu: fixed if statements
This commit is contained in:
parent
1e1f23276a
commit
3e1b9b842f
|
@ -2088,7 +2088,7 @@ void GuiMenu::addVersionInfo()
|
|||
#if defined(IS_PRERELEASE)
|
||||
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) +
|
||||
" (Built " + __DATE__ + ")");
|
||||
#else
|
||||
# else
|
||||
#if defined(__ANDROID__)
|
||||
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) + "-" +
|
||||
std::to_string(ANDROID_VERSION_CODE));
|
||||
|
@ -2101,6 +2101,7 @@ void GuiMenu::addVersionInfo()
|
|||
#define PROGRAM_VERSION_STRING version.c_str()
|
||||
std::cout << PROGRAM_VERSION_STRING << std::endl;
|
||||
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING));
|
||||
#endif
|
||||
#endif
|
||||
|
||||
mVersion.setHorizontalAlignment(ALIGN_CENTER);
|
||||
|
|
Loading…
Reference in a new issue