mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-13 15:34:37 +00:00
More tooltip updates. Made the main menu buttons and the in-game resource counters use them.
Fixed space/tab inconsistencies in (though not between) GUI XML files. This was SVN commit r1554.
This commit is contained in:
@@ -471,7 +471,7 @@ CStr IGUIObject::GetPresentableName() const
|
||||
if (m_Name.Length() <= 12)
|
||||
return m_Name;
|
||||
|
||||
if (m_Name.GetSubstring(0, 10) == CStr("__internal"))
|
||||
if (m_Name.GetSubstring(0, 10) == "__internal")
|
||||
return CStr("[unnamed object]");
|
||||
else
|
||||
return m_Name;
|
||||
|
||||
Reference in New Issue
Block a user