Typo in function name

Fixes the typo in print_seperator()
This commit is contained in:
Marco Hunsicker 2014-03-01 11:05:03 +01:00 committed by Michael Stapelberg
parent 7b021d3eb2
commit 0c2b518b8a
3 changed files with 3 additions and 3 deletions

View File

@ -476,7 +476,7 @@ int main(int argc, char *argv[]) {
printf("\033[u\033[K"); printf("\033[u\033[K");
for (j = 0; j < cfg_size(cfg, "order"); j++) { for (j = 0; j < cfg_size(cfg, "order"); j++) {
if (j > 0) if (j > 0)
print_seperator(separator); print_separator(separator);
const char *current = cfg_getnstr(cfg, "order", j); const char *current = cfg_getnstr(cfg, "order", j);

View File

@ -138,7 +138,7 @@ void die(const char *fmt, ...);
bool slurp(const char *filename, char *destination, int size); bool slurp(const char *filename, char *destination, int size);
/* src/output.c */ /* src/output.c */
void print_seperator(const char *separator); void print_separator(const char *separator);
char *color(const char *colorstr); char *color(const char *colorstr);
char *endcolor() __attribute__ ((pure)); char *endcolor() __attribute__ ((pure));
void reset_cursor(void); void reset_cursor(void);

View File

@ -52,7 +52,7 @@ char *endcolor(void) {
else return ""; else return "";
} }
void print_seperator(const char *separator) { void print_separator(const char *separator) {
if (output_format == O_I3BAR || strlen(separator) == 0) if (output_format == O_I3BAR || strlen(separator) == 0)
return; return;