From: Marco Hunsicker Date: Sat, 1 Mar 2014 10:05:03 +0000 (+0100) Subject: Typo in function name X-Git-Tag: 2.9~29 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0c2b518b8a30c08a69c07ab6ffeea98eb2d58424;p=i3%2Fi3status Typo in function name Fixes the typo in print_seperator() --- diff --git a/i3status.c b/i3status.c index dd97150..8d8536c 100644 --- a/i3status.c +++ b/i3status.c @@ -476,7 +476,7 @@ int main(int argc, char *argv[]) { printf("\033[u\033[K"); for (j = 0; j < cfg_size(cfg, "order"); j++) { if (j > 0) - print_seperator(separator); + print_separator(separator); const char *current = cfg_getnstr(cfg, "order", j); diff --git a/include/i3status.h b/include/i3status.h index a6cd535..95da091 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -138,7 +138,7 @@ void die(const char *fmt, ...); bool slurp(const char *filename, char *destination, int size); /* src/output.c */ -void print_seperator(const char *separator); +void print_separator(const char *separator); char *color(const char *colorstr); char *endcolor() __attribute__ ((pure)); void reset_cursor(void); diff --git a/src/output.c b/src/output.c index e56c892..3a43d58 100644 --- a/src/output.c +++ b/src/output.c @@ -52,7 +52,7 @@ char *endcolor(void) { else return ""; } -void print_seperator(const char *separator) { +void print_separator(const char *separator) { if (output_format == O_I3BAR || strlen(separator) == 0) return;