Fix overstrike/insert logic being reversed in q3_ui
This commit is contained in:
1 parent
1d664a3a10
commit
d9309ac6db
1 file changed
+1
-1
@@ -253,7 +253,7 @@ void MField_CharEvent( mfield_t *edit, int ch ) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !trap_Key_GetOverstrikeMode() ) {
|
if ( trap_Key_GetOverstrikeMode() ) {
|
||||||
if ((edit->cursor == MAX_EDIT_LINE - 1) || (edit->maxchars && edit->cursor >= edit->maxchars))
|
if ((edit->cursor == MAX_EDIT_LINE - 1) || (edit->maxchars && edit->cursor >= edit->maxchars))
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user