diff --git a/src/statsdef.h b/src/statsdef.h index c94545b3d34..e47fc2bc40b 100644 --- a/src/statsdef.h +++ b/src/statsdef.h @@ -285,7 +285,7 @@ struct BASE_STATS size_t index = 0; ///< Index into containing array }; -#define getStatsName(_psStats) ((_psStats)->name.isEmpty() ? "" : gettext((_psStats)->name.toUtf8().c_str())) +#define getStatsName(_psStats) ((_psStats)->name.isEmpty() ? "" : (_psStats)->name.toUtf8().c_str()) #define getLocalizedStatsName(_psStats) ((_psStats)->name.isEmpty() ? "" : gettext((_psStats)->name.toUtf8().c_str())) #define getID(_psStats) (_psStats)->id.toUtf8().c_str() #define checkIfZNullStat(_psStats) ((_psStats)->id.toUtf8().find("ZNULL") != std::string::npos)