fixed a l10n bug for some languages

This commit is contained in:
Choupom 2011-04-20 10:21:39 +02:00 committed by oy
parent 7f15b3ac57
commit f8d21b48af

View file

@ -960,7 +960,7 @@ int CMenus::Render()
Box.VMargin(20.f/UI()->Scale(), &Box);
if(m_pClient->Editor()->HasUnsavedData())
{
char aBuf[128];
char aBuf[256];
str_format(aBuf, sizeof(aBuf), "%s\n%s", Localize("There's an unsaved map in the editor, you might want to save it before you quit the game."), Localize("Quit anyway?"));
UI()->DoLabelScaled(&Box, aBuf, 20.f, -1, Part.w-20.0f);
}