mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 13:23:56 -07:00
Fix GCC warning on “source/gui/scripting/ScriptFunctions.cpp”
Reported by JoshuaJB at Github: https://github.com/leper/0ad/issues/27 Fix provided by l777 (who I believe to be leper but I don’t really know) on IRC. This was SVN commit r14985.
This commit is contained in:
parent
fd3d335265
commit
bc1ed335e2
1 changed files with 1 additions and 1 deletions
|
|
@ -735,7 +735,7 @@ std::wstring GetBuildTimestamp(ScriptInterface::CxPrivate* UNUSED(pCxPrivate), i
|
|||
sprintf_s(svnRevision, ARRAY_SIZE(svnRevision), "%ls", svn_revision);
|
||||
if (strcmp(svnRevision, "custom build") == 0)
|
||||
{
|
||||
sprintf_s(buf, ARRAY_SIZE(buf), L10n::Instance().Translate("custom build").c_str());
|
||||
sprintf_s(buf, ARRAY_SIZE(buf), "%ls", L10n::Instance().Translate("custom build").c_str());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue