aboutsummaryrefslogtreecommitdiff
path: root/common/error.cpp
diff options
context:
space:
mode:
authorMax Horn2011-04-18 17:45:35 +0200
committerMax Horn2011-04-18 18:22:03 +0200
commit7c13aa48cd3f103564ac1807f1152d94f1863979 (patch)
tree1a9d72d8249977c45a9a5f0d4fd6d538c5fa0906 /common/error.cpp
parent7ccba1fced2f35a49b396ec58081e5bf084b6cab (diff)
downloadscummvm-rg350-7c13aa48cd3f103564ac1807f1152d94f1863979.tar.gz
scummvm-rg350-7c13aa48cd3f103564ac1807f1152d94f1863979.tar.bz2
scummvm-rg350-7c13aa48cd3f103564ac1807f1152d94f1863979.zip
COMMON: Tweak extra text handling in Common::Error
Diffstat (limited to 'common/error.cpp')
-rw-r--r--common/error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/error.cpp b/common/error.cpp
index 68702d40a0..eac8ba1ed1 100644
--- a/common/error.cpp
+++ b/common/error.cpp
@@ -84,7 +84,7 @@ Error::Error(ErrorCode code)
}
Error::Error(ErrorCode code, const String &desc)
- : _code(code), _desc(errorToString(code) + ": " + desc) {
+ : _code(code), _desc(errorToString(code) + " (" + desc + ")") {
}