aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/fonts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/fonts.cpp')
-rw-r--r--engines/sherlock/fonts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/fonts.cpp b/engines/sherlock/fonts.cpp
index 8c3abb7189..a9436e36c5 100644
--- a/engines/sherlock/fonts.cpp
+++ b/engines/sherlock/fonts.cpp
@@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
+ *F
*/
#include "common/system.h"
@@ -42,13 +42,13 @@ void Fonts::free() {
delete _font;
}
-void Fonts::setFont(int fontNumber) {
- _fontNumber = fontNumber;
+void Fonts::setFont(int fontNum) {
+ _fontNumber = fontNum;
if (_platform == Common::kPlatform3DO)
return;
- Common::String fname = Common::String::format("FONT%d.VGS", fontNumber + 1);
+ Common::String fname = Common::String::format("FONT%d.VGS", fontNum + 1);
// Discard any previous font and read in new one
delete _font;