Fix a missing `if` clause guard

It was mismatched with indents and sibling `if` clause cases.

Signed-off-by: OBATA Akio <obache@wizdas.com>
pull/153/head
OBATA Akio 6 months ago
parent 9ae164eb83
commit 729c01ffb2

@ -4101,11 +4101,12 @@ void TQTable::fixCell( int &row, int &col, int key )
row = curRow; row = curRow;
} else if ( key == Key_Up || } else if ( key == Key_Up ||
key == Key_Prior || key == Key_Prior ||
key == Key_Home ) key == Key_Home ) {
while ( row >= 0 && rowHeight( row ) <= 0 ) while ( row >= 0 && rowHeight( row ) <= 0 )
row--; row--;
if ( rowHeight( row ) <= 0 ) if ( rowHeight( row ) <= 0 )
row = curRow; row = curRow;
}
} else if ( columnWidth( col ) <= 0 ) { } else if ( columnWidth( col ) <= 0 ) {
if ( key == Key_Left ) { if ( key == Key_Left ) {
while ( col >= 0 && columnWidth( col ) <= 0 ) while ( col >= 0 && columnWidth( col ) <= 0 )

Loading…
Cancel
Save