aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorChris Warren-Smith2011-08-16 11:58:43 +1000
committerChris Warren-Smith2011-08-21 16:39:08 +1000
commita31b74f3e98a083c8d5e20facf06d126b9504c76 (patch)
tree1f6b06536bc8c69a2994061dd00a8b8400721f37 /graphics
parent1370e65de9a6b73c06ba3203bd64e9ffaba33fac (diff)
downloadscummvm-rg350-a31b74f3e98a083c8d5e20facf06d126b9504c76.tar.gz
scummvm-rg350-a31b74f3e98a083c8d5e20facf06d126b9504c76.tar.bz2
scummvm-rg350-a31b74f3e98a083c8d5e20facf06d126b9504c76.zip
BADA: Code formatting and style changes following review
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fontman.cpp2
-rw-r--r--graphics/fontman.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/graphics/fontman.cpp b/graphics/fontman.cpp
index 6936edbb35..43a6e717eb 100644
--- a/graphics/fontman.cpp
+++ b/graphics/fontman.cpp
@@ -79,7 +79,7 @@ bool FontManager::assignFontToName(const Common::String &name, const Font *font)
return true;
}
-bool FontManager::assignFontToUsage(FontUsage usage, const Font *font) {
+bool FontManager::setFont(FontUsage usage, const Font *font) {
switch (usage) {
case kConsoleFont:
delete g_consolefont;
diff --git a/graphics/fontman.h b/graphics/fontman.h
index 7c132e613e..371ebb1e35 100644
--- a/graphics/fontman.h
+++ b/graphics/fontman.h
@@ -67,7 +67,7 @@ public:
* @param font the font object
* @return true on success, false on failure
*/
- bool assignFontToUsage(FontUsage usage, const Font *font);
+ bool setFont(FontUsage usage, const Font *font);
/**
* Removes binding from name to font