summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 8db726215..09a9ccc44 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -691,7 +691,8 @@ static char* FormatString(char* buff, const char* str, const int64* argv, uint c
}
case SCC_GENDER_LIST: { // {G 0 Der Die Das}
- const char* s = GetStringPtr(argv_orig[(byte)*str++]); // contains the string that determines gender.
+ char buffr[512];
+ const char *s = GetStringWithArgs(buffr, argv_orig[(byte)*str++], argv, last); // contains the string that determines gender.
int len;
int gender = 0;
if (s != NULL) {