aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-09-18 10:55:16 +0000
committerTorbjörn Andersson2010-09-18 10:55:16 +0000
commitc91a07229a8bd841e6b6e77d977254c388a2e407 (patch)
tree8eb84ab7f181f42447e14f76f4bb06889a2df246 /engines/saga
parent6fed6a75d53259f90b69ca951275e11d6c98042a (diff)
downloadscummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.tar.gz
scummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.tar.bz2
scummvm-rg350-c91a07229a8bd841e6b6e77d977254c388a2e407.zip
JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/font.cpp2
-rw-r--r--engines/saga/font.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp
index 5b7b7289eb..9589c68f90 100644
--- a/engines/saga/font.cpp
+++ b/engines/saga/font.cpp
@@ -123,7 +123,7 @@ void Font::loadFont(uint32 fontResourceId) {
}
if (readS.pos() != FONT_DESCSIZE) {
- error("Invalid font resource size.");
+ error("Invalid font resource size");
}
font->normal.font = (byte*)malloc(fontResourceLength - FONT_DESCSIZE);
diff --git a/engines/saga/font.h b/engines/saga/font.h
index d8b1da30b9..1b9f290a1b 100644
--- a/engines/saga/font.h
+++ b/engines/saga/font.h
@@ -186,7 +186,7 @@ class Font {
void validate(FontId fontId) {
if (!valid(fontId)) {
- error("Font::validate: Invalid font id.");
+ error("Font::validate: Invalid font id");
}
}
bool valid(FontId fontId) {