about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-07-16 22:22:15 +0100
committerJames Booth <boothj5@gmail.com>2014-07-16 22:22:15 +0100
commit2786b7cb26a881a4a764653e69d491f42b3299fc (patch)
treeb2c126778bfc75d133369aaf758db8b712a55485
parenta607b29d4aa2e7c55b2a1233b35dfecca87c89fb (diff)
downloadprofani-tty-2786b7cb26a881a4a764653e69d491f42b3299fc.tar.gz
Whitespace formatting
-rw-r--r--src/ui/buffer.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/ui/buffer.h b/src/ui/buffer.h
index 3523f4bc..4a0030d0 100644
--- a/src/ui/buffer.h
+++ b/src/ui/buffer.h
@@ -3,29 +3,27 @@
 
 #include "config.h"
 
-//#include "ui/window.h"
 #define BUFF_SIZE 1000
 
 typedef struct prof_buff_entry_t {
-  char show_char;
-  char *date_fmt;
-  int flags;
-  int attrs;
-  char *from;
-  char *message;
+    char show_char;
+    char *date_fmt;
+    int flags;
+    int attrs;
+    char *from;
+    char *message;
 } ProfBuffEntry;
 
 typedef struct prof_buff_t {
-  ProfBuffEntry entry[BUFF_SIZE];
-  int wrap;
-  int current;
+    ProfBuffEntry entry[BUFF_SIZE];
+    int wrap;
+    int current;
 } ProfBuff;
 
-
 ProfBuff* buffer_create();
 void buffer_free(ProfBuff* buffer);
 void buffer_push(ProfBuff* buffer, const char show_char, const char * const date_fmt, int flags, int attrs, const char * const from, const char * const message);
 int buffer_size(ProfBuff* buffer);
 int buffer_yield(ProfBuff* buffer, int line, ProfBuffEntry** list);
 ProfBuffEntry buffer_yield_entry(ProfBuff* buffer, int entry);
-#endif
+#endif
\ No newline at end of file