about summary refs log tree commit diff
path: root/src/game
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-04-02 12:01:10 +0200
committeroy <Tom_Adams@web.de>2011-04-02 12:01:10 +0200
commit37b75f90e42aa28f0029545b6775cab827a09fc9 (patch)
tree256577fcb19d634ba7a212c7ed5f3605e8a671fe /src/game
parent04a3b7be0042b48d1b6963801420ac4cb480bf4d (diff)
downloadzcatch-37b75f90e42aa28f0029545b6775cab827a09fc9.tar.gz
zcatch-37b75f90e42aa28f0029545b6775cab827a09fc9.zip
fixed that unsaved map notice in quit popup overlaps
Diffstat (limited to 'src/game')
-rw-r--r--src/game/client/components/menus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp
index 76109161..4b6b2cb7 100644
--- a/src/game/client/components/menus.cpp
+++ b/src/game/client/components/menus.cpp
@@ -948,7 +948,7 @@ int CMenus::Render()
 			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.f, -1, Part.w-20.0f);
 
 			// buttons
 			Part.VMargin(80.0f, &Part);