Skip to content

Commit

Permalink
Fixed text string
Browse files Browse the repository at this point in the history
  • Loading branch information
XargonWan committed Oct 30, 2024
1 parent c20f788 commit 876b661
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions es-app/src/guis/GuiMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2364,12 +2364,12 @@ void GuiMenu::addVersionInfo()
// Attempt to open the version file and read a line into retroDeckVersion;
// also check that the line is not empty to ensure valid version information
if (versionFile && std::getline(versionFile, retroDeckVersion) && !retroDeckVersion.empty()) {
mVersion.setText("RetroDECK" + " " + retroDeckVersion);
mVersion.setText("RetroDECK " + retroDeckVersion);
LOG(LogInfo) << "RetroDECK version read OK.";
} else {
LOG(LogInfo) << "Error: Cannot read version from file or file is empty!";
retroDeckVersion = "UNKNOWN";
mVersion.setText("RetroDECK" + " " + retroDeckVersion);
mVersion.setText("RetroDECK " + retroDeckVersion);
}

#else // If RETRODECK is NOT defined, execute this block
Expand Down

0 comments on commit 876b661

Please sign in to comment.