]> git.sur5r.net Git - i3/i3status/blobdiff - src/general.c
Add modelines and retab! all files
[i3/i3status] / src / general.c
index 4c110e47831be54872795d468e3bf025cde94366..62d242db6fa387c5bb7f9feb81a61298a865065d 100644 (file)
@@ -1,3 +1,4 @@
+// vim:ts=8:expandtab
 #include <sys/types.h>
 #include <string.h>
 #include <stdarg.h>
  *
  */
 void slurp(char *filename, char *destination, int size) {
-       int fd;
+        int fd;
 
-       if ((fd = open(filename, O_RDONLY)) == -1)
-               die("Could not open \"%s\"\n", filename);
+        if ((fd = open(filename, O_RDONLY)) == -1)
+                die("Could not open \"%s\"\n", filename);
 
-       (void)read(fd, destination, size);
-       (void)close(fd);
+        (void)read(fd, destination, size);
+        (void)close(fd);
 }
 
 /*