diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-11-23 12:22:02 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2023-12-26 15:14:19 +0100 |
commit | 6aa9ef2726e42c4ae062b55be4d5cc015767d997 (patch) | |
tree | d5bd033946b404fa99b70b0b1c560725cef302bf /Table.c | |
parent | a98fc47ffe67e88b1a83f94382795b8787a9bfe8 (diff) |
Fix code style
Diffstat (limited to 'Table.c')
-rw-r--r-- | Table.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -137,7 +137,7 @@ static void Table_buildTreeBranch(Table* this, int rowid, unsigned int level, in } static int compareRowByKnownParentThenNatural(const void* v1, const void* v2) { - return Row_compareByParent((const Row*) v1, (const Row*) v2); + return Row_compareByParent((const Row*) v1, (const Row*) v2); } // Builds a sorted tree from scratch, without relying on previously gathered information @@ -263,7 +263,7 @@ void Table_rebuildPanel(Table* this) { foundFollowed = true; Panel_setSelected(this->panel, idx); /* Keep scroll position relative to followed row */ - this->panel->scrollV = idx - (currPos-currScrollV); + this->panel->scrollV = idx - (currPos - currScrollV); } idx++; } |