aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/client/cl_keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/client/cl_keys.c b/code/client/cl_keys.c
index 64d0879..1c254db 100644
--- a/code/client/cl_keys.c
+++ b/code/client/cl_keys.c
@@ -475,7 +475,7 @@ void Field_KeyDownEvent( field_t *edit, int key ) {
break;
}
- // Change scroll is cursor if no longer visible
+ // Change scroll if cursor is no longer visible
if ( edit->cursor < edit->scroll ) {
edit->scroll = edit->cursor;
} else if ( edit->cursor >= edit->scroll + edit->widthInChars && edit->cursor <= len ) {