]> git.sur5r.net Git - i3/i3/blobdiff - libi3/format_placeholders.c
ipc: tree reply: document focus, nodes and floating_nodes (#2955)
[i3/i3] / libi3 / format_placeholders.c
index 825cab5cf19531be1475a8ededf7009445c74482..59e947811ec0fdce22abeddf3eca42aa38eec713 100644 (file)
@@ -5,18 +5,18 @@
  * © 2009 Michael Stapelberg and contributors (see also: LICENSE)
  *
  */
+#include "libi3.h"
+
 #include <stdlib.h>
 #include <stdint.h>
 #include <string.h>
 
-#include "libi3.h"
-
 #ifndef STARTS_WITH
 #define STARTS_WITH(string, needle) (strncasecmp((string), (needle), strlen((needle))) == 0)
 #endif
 
 /*
- * Replaces occurences of the defined placeholders in the format string.
+ * Replaces occurrences of the defined placeholders in the format string.
  *
  */
 char *format_placeholders(char *format, placeholder_t *placeholders, int num) {