refactoring all PS_RESULT in GUI to PSRETURN/PSERROR

closes #128

This was SVN commit r7147.
This commit is contained in:
sluzky
2009-09-27 15:04:46 +00:00
parent e31ca32479
commit 92637c1041
15 changed files with 150 additions and 126 deletions
+1 -1
View File
@@ -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";