mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Undeclared variable fix
This commit is contained in:
parent
ca43dbc9b0
commit
869d4cb8f6
|
@ -2355,8 +2355,10 @@ void GuiMenu::addVersionInfo()
|
|||
mVersion.setAutoCalcExtent(glm::ivec2 {0, 0});
|
||||
mVersion.setColor(mMenuColorTertiary);
|
||||
|
||||
const std::string applicationName {"ES-DE"};
|
||||
|
||||
#if defined(__RETRODECK__)
|
||||
const std::string applicationName {"RetroDECK"};
|
||||
applicationName = "RetroDECK";
|
||||
std::ifstream file("/app/retrodeck/version");
|
||||
std::string version;
|
||||
if (file.is_open() && std::getline(file, version) && !version.empty()) {
|
||||
|
|
Loading…
Reference in a new issue