Skip to content

Commit 198fd6a

Browse files
committed
more formatting
1 parent e8f0852 commit 198fd6a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

main.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ void parse_context(int argc, char **argv) {
7373
}
7474
}
7575

76-
void load_config()
77-
{
76+
void load_config() {
7877
int comment;
7978
char buf[256];
8079
char *pbuf;
@@ -96,11 +95,11 @@ void load_config()
9695
if(!comment && pbuf == buf) continue; // empty line
9796
else break;
9897
}
99-
if(!comment) {
98+
if (!comment) {
10099
*pbuf++ = (char)toupper(c);
101100
}
102101
} // parse line
103-
if(comment) {
102+
if (comment) {
104103
continue;
105104
}
106105
*pbuf = '\0';
@@ -111,10 +110,9 @@ void load_config()
111110
ent->found = 0;
112111
ent->next = NULL;
113112

114-
if(prev == NULL) {
113+
if (prev == NULL) {
115114
context.symbols = ent;
116-
}
117-
else {
115+
} else {
118116
prev->next = ent;
119117
}
120118
prev = ent;

0 commit comments

Comments
 (0)