Fix -Wstring-compare warning
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bcbe69491b
commit
03f696877e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ AboutDialog::AboutDialog(QWidget *parent) :
|
|||
const QString projectBuild = AppEnv::getBuildDateTime();
|
||||
const QString buildStr = GTA5SYNC_BUILDSTRING;
|
||||
#ifdef GTA5SYNC_COMMIT
|
||||
if (literalBuildType == REL_BUILDTYPE && !appVersion.contains("-"))
|
||||
if ((strcmp(literalBuildType, REL_BUILDTYPE) == 0) && !appVersion.contains("-"))
|
||||
appVersion = appVersion % "-" % GTA5SYNC_COMMIT;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue