From 1239150846c2d72764abd30a0ad040bcd30a47f8 Mon Sep 17 00:00:00 2001 From: oy Date: Mon, 27 Jun 2011 16:39:23 +0200 Subject: [PATCH] fixed password popup UI issue. Closes #583 --- src/game/client/components/menus.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/game/client/components/menus.cpp b/src/game/client/components/menus.cpp index 6ec18ce15..454ef7d59 100644 --- a/src/game/client/components/menus.cpp +++ b/src/game/client/components/menus.cpp @@ -251,6 +251,7 @@ int CMenus::DoEditBox(void *pID, const CUIRect *pRect, char *pStr, unsigned StrS { if(!UI()->MouseButton(0)) { + s_AtIndex = min(s_AtIndex, str_length(pStr)); s_DoScroll = false; UI()->SetActiveItem(0); }