i3 - improved tiling WM


Typo in function name

Patch status: merged

Patch by Marco Hunsicker

Long description:

Fixes the typo in print_seperator()

To apply this patch, use:
curl http://cr.i3wm.org/patch/441/raw.patch | git am

b/i3status.c

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

b/include/i3status.h

29
@@ -138,7 +138,7 @@ void die(const char *fmt, ...);
30
 bool slurp(const char *filename, char *destination, int size);
31
 
32
 /* src/output.c */
33
-void print_seperator(const char *separator);
34
+void print_separator(const char *separator);
35
 char *color(const char *colorstr);
36
 char *endcolor() __attribute__ ((pure));
37
 void reset_cursor(void);

b/src/output.c

42
@@ -52,7 +52,7 @@ char *endcolor(void) {
43
         else return "";
44
 }
45
 
46
-void print_seperator(const char *separator) {
47
+void print_separator(const char *separator) {
48
         if (output_format == O_I3BAR || strlen(separator) == 0)
49
                 return;
50