summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Hunsicker <i3@hunsicker.de>2014-03-01 11:05:03 +0100
committerMichael Stapelberg <michael@stapelberg.de>2014-03-01 22:35:37 +0100
commit0c2b518b8a30c08a69c07ab6ffeea98eb2d58424 (patch)
tree2bc0166aa9bb833c929ec7e40539b422cd8accc3
parent7b021d3eb20c9bf63ad8fa54ae253add47e551f6 (diff)
Typo in function name
Fixes the typo in print_seperator()
-rw-r--r--i3status.c2
-rw-r--r--include/i3status.h2
-rw-r--r--src/output.c2
3 files changed, 3 insertions, 3 deletions
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;