aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BFontStorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/BFontStorage.cpp')
-rw-r--r--engines/wintermute/Base/BFontStorage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/wintermute/Base/BFontStorage.cpp b/engines/wintermute/Base/BFontStorage.cpp
index 0d00f89e60..a96809d194 100644
--- a/engines/wintermute/Base/BFontStorage.cpp
+++ b/engines/wintermute/Base/BFontStorage.cpp
@@ -142,14 +142,14 @@ HRESULT CBFontStorage::RemoveFont(CBFont *Font) {
//////////////////////////////////////////////////////////////////////////
-HRESULT CBFontStorage::Persist(CBPersistMgr *PersistMgr) {
+HRESULT CBFontStorage::Persist(CBPersistMgr *persistMgr) {
- if (!PersistMgr->_saving) Cleanup(false);
+ if (!persistMgr->_saving) Cleanup(false);
- PersistMgr->Transfer(TMEMBER(Game));
- _fonts.Persist(PersistMgr);
+ persistMgr->transfer(TMEMBER(Game));
+ _fonts.Persist(persistMgr);
- if (!PersistMgr->_saving) InitFreeType();
+ if (!persistMgr->_saving) InitFreeType();
return S_OK;
}