aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/avalanche.cpp
diff options
context:
space:
mode:
authorStrangerke2013-10-05 14:37:20 +0200
committerStrangerke2013-10-05 14:37:20 +0200
commitb6d6c17727755fe50bbbb02ddc126ab7c887683c (patch)
treed235da483c3f06dede1268ff652efd204ca8b9ad /engines/avalanche/avalanche.cpp
parentd3cd7e237a017af32962bc20c4dd8f510a4b7c80 (diff)
downloadscummvm-rg350-b6d6c17727755fe50bbbb02ddc126ab7c887683c.tar.gz
scummvm-rg350-b6d6c17727755fe50bbbb02ddc126ab7c887683c.tar.bz2
scummvm-rg350-b6d6c17727755fe50bbbb02ddc126ab7c887683c.zip
AVALANCHE: Replace static strings by static char*
Diffstat (limited to 'engines/avalanche/avalanche.cpp')
-rw-r--r--engines/avalanche/avalanche.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp
index 31fd05393c..43943f2632 100644
--- a/engines/avalanche/avalanche.cpp
+++ b/engines/avalanche/avalanche.cpp
@@ -387,11 +387,11 @@ bool AvalancheEngine::loadGame(const int16 slot) {
}
Common::String AvalancheEngine::expandDate(int d, int m, int y) {
- static const Common::String months[12] = {
+ static const char months[12][10] = {
"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
};
- Common::String month = months[m];
+ Common::String month = Common::String(months[m]);
Common::String day = intToStr(d);
if (((1 <= d) && (d <= 9)) || ((21 <= d) && (d <= 31)))