summaryrefslogtreecommitdiffstats
path: root/TraceScreen.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2022-10-22 19:19:39 +0200
committerBenBE <BenBE@geshi.org>2022-10-24 23:13:22 +0200
commit40104588f38250afde9f71b6204d789039bbfe3e (patch)
tree745e532580371db2ca85b4ae57b10f1ad3396531 /TraceScreen.c
parent4ad530d1c00f649dcd02b818a3ccc7ded0aaf12d (diff)
Reformat code base
This includes: - Wrap function implementations - Pointer alignment for function signatures - Pointer alignment for variable declarations - Whitespace after keywords - Whitespace after comma - Whitespace around initializers - Whitespace around operators - Code indentation - Line break for single line statements - Misleading alignment
Diffstat (limited to 'TraceScreen.c')
-rw-r--r--TraceScreen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/TraceScreen.c b/TraceScreen.c
index 90400b43..2aa0781b 100644
--- a/TraceScreen.c
+++ b/TraceScreen.c
@@ -164,17 +164,17 @@ static void TraceScreen_updateTrace(InfoScreen* super) {
static bool TraceScreen_onKey(InfoScreen* super, int ch) {
TraceScreen* this = (TraceScreen*) super;
- switch(ch) {
+ switch (ch) {
case 'f':
case KEY_F(8):
this->follow = !(this->follow);
if (this->follow)
- Panel_setSelected(super->display, Panel_size(super->display)-1);
+ Panel_setSelected(super->display, Panel_size(super->display) - 1);
return true;
case 't':
case KEY_F(9):
this->tracing = !this->tracing;
- FunctionBar_setLabel(super->display->defaultBar, KEY_F(9), this->tracing?"Stop Tracing ":"Resume Tracing ");
+ FunctionBar_setLabel(super->display->defaultBar, KEY_F(9), this->tracing ? "Stop Tracing " : "Resume Tracing ");
InfoScreen_draw(this);
return true;
}

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