summaryrefslogtreecommitdiffstats
path: root/Panel.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2020-10-31 23:28:02 +0100
committerBenny Baumann <BenBE@geshi.org>2020-11-02 22:15:01 +0100
commit61e14d4bb25268593019e6df3eb02264b4ac8e0e (patch)
tree910b68d9a5ee1c4d25b2cf3ee24abaaf3e6a096b /Panel.c
parentb23f8235e28472c410dcb00893e0e3d403892673 (diff)
Spacing around operators
Diffstat (limited to 'Panel.c')
-rw-r--r--Panel.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Panel.c b/Panel.c
index 4c333963..5e92c9c7 100644
--- a/Panel.c
+++ b/Panel.c
@@ -201,7 +201,7 @@ void Panel_setSelected(Panel* this, int selected) {
}
}
-void Panel_splice(Panel *this, Vector* from) {
+void Panel_splice(Panel* this, Vector* from) {
assert (this != NULL);
assert (from != NULL);
@@ -295,15 +295,15 @@ void Panel_draw(Panel* this, bool focus) {
Object_display(newObj, &new);
int newLen = RichString_sizeVal(new);
this->selectedLen = newLen;
- mvhline(y+ this->oldSelected - first, x+0, ' ', this->w);
+ mvhline(y + this->oldSelected - first, x + 0, ' ', this->w);
if (scrollH < oldLen)
- RichString_printoffnVal(old, y+this->oldSelected - first, x,
+ RichString_printoffnVal(old, y + this->oldSelected - first, x,
scrollH, MINIMUM(oldLen - scrollH, this->w));
attrset(selectionColor);
- mvhline(y+this->selected - first, x+0, ' ', this->w);
+ mvhline(y + this->selected - first, x + 0, ' ', this->w);
RichString_setAttr(&new, selectionColor);
if (scrollH < newLen)
- RichString_printoffnVal(new, y+this->selected - first, x,
+ RichString_printoffnVal(new, y + this->selected - first, x,
scrollH, MINIMUM(newLen - scrollH, this->w));
attrset(CRT_colors[RESET_COLOR]);
RichString_end(new);

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