Fix overstrike/insert logic being reversed in q3_ui

This commit is contained in:
Zack Middleton 2014-07-03 21:06:05 -05:00
parent 1d664a3a10
commit d9309ac6db

View file

@ -253,7 +253,7 @@ void MField_CharEvent( mfield_t *edit, int ch ) {
return;
}
if ( !trap_Key_GetOverstrikeMode() ) {
if ( trap_Key_GetOverstrikeMode() ) {
if ((edit->cursor == MAX_EDIT_LINE - 1) || (edit->maxchars && edit->cursor >= edit->maxchars))
return;
} else {