Skip to content

Commit

Permalink
fixed indentation and style..
Browse files Browse the repository at this point in the history
  • Loading branch information
d-e-e-p authored and ThomasAdam committed Jun 30, 2020
1 parent 4279025 commit 086e1ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions modules/FvwmPager/FvwmPager.c
Original file line number Diff line number Diff line change
Expand Up @@ -1564,7 +1564,7 @@ void list_config_info(unsigned long *body)
TAILQ_FOREACH(m2, &fp_monitor_q, entry) {
updated = 0;
if (strcmp(m2->name, mname) == 0) {
extract_monitor_config(m2,tline);
extract_monitor_config(m2,tline);
updated = 1;
}
}
Expand All @@ -1575,9 +1575,8 @@ void list_config_info(unsigned long *body)
m = fxcalloc(1, sizeof(*m));

m->name = fxstrdup(mname);
extract_monitor_config(m,tline);
extract_monitor_config(m,tline);
TAILQ_INSERT_TAIL(&fp_monitor_q, m, entry);

} else if (StrEquals(token, "DesktopSize")) {
int dx, dy;
struct fpmonitor *m;
Expand Down Expand Up @@ -1875,7 +1874,7 @@ void ParseOptions(void)
TAILQ_FOREACH(m2, &fp_monitor_q, entry) {
updated = 0;
if (strcmp(m2->name, mname) == 0) {
extract_monitor_config(m2,next);
extract_monitor_config(m2, next);
updated = 1;
}
}
Expand All @@ -1886,7 +1885,7 @@ void ParseOptions(void)
m = fxcalloc(1, sizeof(*m));

m->name = fxstrdup(mname);
extract_monitor_config(m,next);
extract_monitor_config(m, next);
TAILQ_INSERT_TAIL(&fp_monitor_q, m, entry);
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion modules/FvwmPager/FvwmPager.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ RETSIGTYPE DeadPipe(int nonsense);
void process_message(FvwmPacket*);
void ParseOptions(void);

void extract_monitor_config(struct fpmonitor *m, char *tline);
static void extract_monitor_config(struct fpmonitor *, char *);
void list_add(unsigned long *body);
void list_configure(unsigned long *body);
void list_config_info(unsigned long *body);
Expand Down

0 comments on commit 086e1ac

Please sign in to comment.