Skip to content

Commit 78a81b2

Browse files
committed
add suggested parenthesis
1 parent 9ae7b0a commit 78a81b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/example_term.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ static void _process_cmd() {
195195
strcat(console_text, programs[i].name);
196196
}
197197

198-
} else if (prg = get_program(cmd)) {
198+
} else if ((prg = get_program(cmd))) {
199199

200200
prg->fn();
201201
MDT_GRAPHICS_Init(&graphicsCfg);

0 commit comments

Comments
 (0)