diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp --- a/src/newgrf_text.cpp +++ b/src/newgrf_text.cpp @@ -327,21 +327,19 @@ struct UnmappedChoiceList : ZeroedMemory *d++ = i; /* "" */ - size_t len = strlen(str); + size_t len = strlen(str) + 1; *d++ = GB(len, 8, 8); *d++ = GB(len, 0, 8); /* "" */ memcpy(d, str, len); d += len; - *d++ = '\0'; } /* "" */ - size_t len = strlen(this->strings[0]); + size_t len = strlen(this->strings[0]) + 1; memcpy(d, this->strings[0], len); d += len; - *d++ = '\0'; } else { if (this->type == SCC_PLURAL_LIST) { *d++ = lm->plural_form;