diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-17 18:05:17 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:53 +0000 |
commit | f9683711bedc6c22889d151fe27313cb724bfbe2 (patch) | |
tree | a747c421aab6c95132b74764235769f717ed6249 /src/ui/ui_shared.c | |
parent | ed3a2a6da386c887ff721dfd3b559cb7b12f383d (diff) |
* 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)
Diffstat (limited to 'src/ui/ui_shared.c')
-rw-r--r-- | src/ui/ui_shared.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |