From fc6fd9a44402fdc4e036da4cc90c26ccf94c98de Mon Sep 17 00:00:00 2001 From: Ted John Date: Thu, 14 Dec 2017 12:20:26 +0000 Subject: [PATCH] Fix inline sprites --- src/openrct2/localisation/LanguagePack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openrct2/localisation/LanguagePack.cpp b/src/openrct2/localisation/LanguagePack.cpp index 698e768f88..5e0acfe307 100644 --- a/src/openrct2/localisation/LanguagePack.cpp +++ b/src/openrct2/localisation/LanguagePack.cpp @@ -549,7 +549,7 @@ private: } } - auto s = std::string(sb.GetBuffer()); + auto s = std::string(sb.GetBuffer(), sb.GetLength()); if (_currentGroup.empty()) { // Make sure the list is big enough to contain this string id