aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs_create_char.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/dialogs_create_char.cpp')
-rw-r--r--engines/xeen/dialogs_create_char.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs_create_char.cpp b/engines/xeen/dialogs_create_char.cpp
index c1c6bc8c04..73aa4b3f02 100644
--- a/engines/xeen/dialogs_create_char.cpp
+++ b/engines/xeen/dialogs_create_char.cpp
@@ -384,7 +384,7 @@ int CreateCharacterDialog::newCharDetails(Race race, Sex sex, int classId,
// If a class is provided, set the class name
if (classId != -1) {
- classStr = Common::String::format("\t062\v168%s", Res.CLASS_NAMES[classId].c_str());
+ classStr = Common::String::format("\t062\v168%s", Res.CLASS_NAMES[classId]);
}
// Set up default skill for the race, if any