diff options
| author | oy <Tom_Adams@web.de> | 2011-04-02 12:08:46 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-04-02 12:08:46 +0200 |
| commit | 30c45b7899381e8cf486d6aaac6cfb05c4876594 (patch) | |
| tree | ff7e02159a40a64ed434f316d08a96af5c7203ca /src/game/client | |
| parent | 37b75f90e42aa28f0029545b6775cab827a09fc9 (diff) | |
| download | zcatch-30c45b7899381e8cf486d6aaac6cfb05c4876594.tar.gz zcatch-30c45b7899381e8cf486d6aaac6cfb05c4876594.zip | |
removed newline from a localisation. Closes #572
Diffstat (limited to 'src/game/client')
| -rw-r--r-- | src/game/client/components/menus.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 4b6b2cb7..b33a5add 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -947,8 +947,11 @@ int CMenus::Render() Box.HSplitTop(10.0f, 0, &Box); Box.VMargin(20.f/UI()->Scale(), &Box); if(m_pClient->Editor()->HasUnsavedData()) - UI()->DoLabelScaled(&Box, Localize("There's an unsaved map in the editor, you might want to save it before you quit the game.\nQuit anyway?"), - 20.f, -1, Part.w-20.0f); + { + char aBuf[128]; + 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); + } // buttons Part.VMargin(80.0f, &Part); |