summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 61a5098ab..c3f306183 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1932,7 +1932,7 @@ static void GetLanguageList(const char *path)
} else if (GetLanguage(lmd.newgrflangid) != NULL) {
DEBUG(misc, 3, "%s's language ID is already known", lmd.file);
} else {
- *_languages.Append() = lmd;
+ _languages.push_back(lmd);
}
}
closedir(dir);