mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-10-14 06:58:07 +00:00
refactoring all PS_RESULT in GUI to PSRETURN/PSERROR
closes #128 This was SVN commit r7147.
This commit is contained in:
@@ -64,7 +64,7 @@ void CButton::SetupText()
|
||||
debug_assert(m_GeneratedTexts.size()>=1);
|
||||
|
||||
CStr font;
|
||||
if (GUI<CStr>::GetSetting(this, "font", font) != PS_OK || font.empty())
|
||||
if (GUI<CStr>::GetSetting(this, "font", font) != PSRETURN_OK || font.empty())
|
||||
// Use the default if none is specified
|
||||
// TODO Gee: (2004-08-14) Default should not be hard-coded, but be in styles!
|
||||
font = "default";
|
||||
|
||||
Reference in New Issue
Block a user