mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-03-13 09:12:27 +01:00
Fixed incorrect version reporting when running azahar -v
with a tagged release
This commit is contained in:
parent
a5ad887771
commit
4694e3c79a
@ -288,7 +288,7 @@ GMainWindow::GMainWindow(Core::System& system_)
|
||||
|
||||
if (args[i] == QStringLiteral("--version") || args[i] == QStringLiteral("-v")) {
|
||||
const std::string version_string =
|
||||
std::string("Azahar ") + Common::g_scm_branch + " " + Common::g_scm_desc;
|
||||
std::string("Azahar ") + Common::g_build_fullname;
|
||||
ShowCommandOutput("Version", version_string);
|
||||
exit(0);
|
||||
}
|
||||
|
@ -298,7 +298,7 @@ void LaunchSdlFrontend(int argc, char** argv) {
|
||||
}
|
||||
case 'v':
|
||||
const std::string version_string =
|
||||
std::string("Azahar ") + Common::g_scm_branch + " " + Common::g_scm_desc;
|
||||
std::string("Azahar ") + Common::g_build_fullname;
|
||||
ShowCommandOutput("Version", version_string);
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user