diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-10-31 23:28:02 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-11-02 22:15:01 +0100 |
commit | 61e14d4bb25268593019e6df3eb02264b4ac8e0e (patch) | |
tree | 910b68d9a5ee1c4d25b2cf3ee24abaaf3e6a096b /FunctionBar.c | |
parent | b23f8235e28472c410dcb00893e0e3d403892673 (diff) |
Spacing around operators
Diffstat (limited to 'FunctionBar.c')
-rw-r--r-- | FunctionBar.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/FunctionBar.c b/FunctionBar.c index 9b454ac8..93456583 100644 --- a/FunctionBar.c +++ b/FunctionBar.c @@ -94,14 +94,14 @@ void FunctionBar_draw(const FunctionBar* this) { void FunctionBar_drawExtra(const FunctionBar* this, const char* buffer, int attr, bool setCursor) { attrset(CRT_colors[FUNCTION_BAR]); - mvhline(LINES-1, 0, ' ', COLS); + mvhline(LINES - 1, 0, ' ', COLS); int x = 0; for (int i = 0; i < this->size; i++) { attrset(CRT_colors[FUNCTION_KEY]); - mvaddstr(LINES-1, x, this->keys.constKeys[i]); + mvaddstr(LINES - 1, x, this->keys.constKeys[i]); x += strlen(this->keys.constKeys[i]); attrset(CRT_colors[FUNCTION_BAR]); - mvaddstr(LINES-1, x, this->functions[i]); + mvaddstr(LINES - 1, x, this->functions[i]); x += strlen(this->functions[i]); } @@ -110,7 +110,7 @@ void FunctionBar_drawExtra(const FunctionBar* this, const char* buffer, int attr attrset(CRT_colors[FUNCTION_BAR]); else attrset(attr); - mvaddstr(LINES-1, x, buffer); + mvaddstr(LINES - 1, x, buffer); attrset(CRT_colors[RESET_COLOR]); x += strlen(buffer); } @@ -130,7 +130,7 @@ void FunctionBar_append(const char* buffer, int attr) { attrset(CRT_colors[FUNCTION_BAR]); else attrset(attr); - mvaddstr(LINES-1, currentLen, buffer); + mvaddstr(LINES - 1, currentLen, buffer); attrset(CRT_colors[RESET_COLOR]); currentLen += strlen(buffer); |