summaryrefslogtreecommitdiffstats
path: root/Table.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-11-23 12:22:02 +0100
committerBenBE <BenBE@geshi.org>2023-12-26 15:14:19 +0100
commit6aa9ef2726e42c4ae062b55be4d5cc015767d997 (patch)
treed5bd033946b404fa99b70b0b1c560725cef302bf /Table.c
parenta98fc47ffe67e88b1a83f94382795b8787a9bfe8 (diff)
Fix code style
Diffstat (limited to 'Table.c')
-rw-r--r--Table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Table.c b/Table.c
index a5b91ab4..c31e8254 100644
--- a/Table.c
+++ b/Table.c
@@ -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++;
}

© 2014-2024 Faster IT GmbH | imprint | privacy policy