- missed one place where FBrokenLines was used.

This commit is contained in:
Christoph Oelckers 2018-10-31 20:36:23 +01:00
parent 4343d0b9c5
commit 98b8a2b1f4
1 changed files with 2 additions and 2 deletions

View File

@ -1196,9 +1196,9 @@ static void PrintSecretString(const char *string, bool thislevel)
}
auto brok = V_BreakLines(ConFont, screen->GetWidth()*95/100, string);
for (int k = 0; brok[k].Width >= 0; k++)
for (auto &line : brok)
{
Printf("%s%s\n", colstr, brok[k].Text.GetChars());
Printf("%s%s\n", colstr, line.Text.GetChars());
}
}
}