mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-19 11:39:35 +01:00
parent
6d5aee0545
commit
f8bdc1e612
@ -1006,7 +1006,8 @@ static void DecodeEncodedString(StringConsumer &consumer, bool game_script, Stri
|
|||||||
}
|
}
|
||||||
|
|
||||||
while (consumer.AnyBytesLeft()) {
|
while (consumer.AnyBytesLeft()) {
|
||||||
StringConsumer record(consumer.ReadUntilUtf8(SCC_RECORD_SEPARATOR, StringConsumer::SKIP_ONE_SEPARATOR));
|
consumer.SkipUtf8If(SCC_RECORD_SEPARATOR);
|
||||||
|
StringConsumer record(consumer.ReadUntilUtf8(SCC_RECORD_SEPARATOR, StringConsumer::KEEP_SEPARATOR));
|
||||||
|
|
||||||
if (!record.AnyBytesLeft()) {
|
if (!record.AnyBytesLeft()) {
|
||||||
/* This is an empty parameter. */
|
/* This is an empty parameter. */
|
||||||
|
Loading…
Reference in New Issue
Block a user