@@ -293,13 +293,13 @@ struct UnmappedChoiceList : ZeroedMemory
* assume an empty string. */
grfmsg(1, "choice list misses default value");
this->strings[0] = strdup("");
}
char *d = old_d;
if (lm == NULL && this->type != SCC_PLURAL_LIST) {
if (lm == NULL) {
/* In case there is no mapping, just ignore everything but the default.
* A probable cause for this happening is when the language file has
* been removed by the user and as such no mapping could be made. */
size_t len = strlen(this->strings[0]);
memcpy(d, this->strings[0], len);
return d + len;