From f9683711bedc6c22889d151fe27313cb724bfbe2 Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sat, 17 Oct 2009 18:05:17 +0000 Subject: * Fix wonky say text field behavior when you press insert (Rezyn) * Properly prevent deconstructing the last spawn when it's markdeconstruct with no power (Rezyn) * Fix typo on nextmap votes (Byron Johnson) --- src/ui/ui_shared.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui') diff --git a/src/ui/ui_shared.c b/src/ui/ui_shared.c index bcb694ce..dd862c09 100644 --- a/src/ui/ui_shared.c +++ b/src/ui/ui_shared.c @@ -3628,11 +3628,11 @@ qboolean Item_TextField_HandleKey( itemDef_t *item, int key ) else { // Reached maximum field length - if( editPtr->maxChars && item->cursorPos >= editPtr->maxChars ) + { releaseFocus = qfalse; - - goto exit; + goto exit; + } } buff[ item->cursorPos ] = key; -- cgit