This commit is contained in:
Tim Angus 2007-08-23 15:23:43 +00:00
parent 2ea6b8b512
commit 8b5a40e2ed
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) {