diff options
author | OBATA Akio <obache@wizdas.com> | 2024-05-23 18:22:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-05-23 19:02:15 +0900 |
commit | b634a4f66f9f2f0785f03719ee1c33612880d76c (patch) | |
tree | 2eb5c6ed15afa319b6f18a390bb639c64cee1746 | |
parent | cd45e22a58c274f0ca089f722d9984bb2ae446c6 (diff) | |
download | tqt3-b634a4f66f9f2f0785f03719ee1c33612880d76c.tar.gz tqt3-b634a4f66f9f2f0785f03719ee1c33612880d76c.zip |
Fix a missing `if` clause guard
It was mismatched with indents and sibling `if` clause cases.
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 729c01ffb2d99f0f088d31860b71a202850a9688)
-rw-r--r-- | src/table/qtable.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/table/qtable.cpp b/src/table/qtable.cpp index c6ba6ddb2..bf27224c8 100644 --- a/src/table/qtable.cpp +++ b/src/table/qtable.cpp @@ -4101,11 +4101,12 @@ void TQTable::fixCell( int &row, int &col, int key ) row = curRow; } else if ( key == Key_Up || key == Key_Prior || - key == Key_Home ) + key == Key_Home ) { while ( row >= 0 && rowHeight( row ) <= 0 ) row--; if ( rowHeight( row ) <= 0 ) row = curRow; + } } else if ( columnWidth( col ) <= 0 ) { if ( key == Key_Left ) { while ( col >= 0 && columnWidth( col ) <= 0 ) |