about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-11-22 20:41:47 +0000
committerJames Booth <boothj5@gmail.com>2014-11-22 20:41:47 +0000
commitd9657099103b7fe764644dd5ce0fe052d9441354 (patch)
treec7b0f691c565c867fd3bccb321778188dd3919cf /src
parentcdba79cbb56d6f564d4d0db3cf01296ef8aacaba (diff)
downloadprofani-tty-d9657099103b7fe764644dd5ce0fe052d9441354.tar.gz
Tidied whitespace
Diffstat (limited to 'src')
-rw-r--r--src/ui/titlebar.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c
index 4d5484a1..42da14b6 100644
--- a/src/ui/titlebar.c
+++ b/src/ui/titlebar.c
@@ -178,7 +178,6 @@ _title_bar_draw(void)
 
     _show_contact_presence();
 
-
 #ifdef HAVE_LIBOTR
     _show_privacy();
 #endif
@@ -205,16 +204,14 @@ _title_bar_draw(void)
 static void
 _show_self_presence(void)
 {
+    int presence_attrs = 0;
     int bracket_attrs = theme_attrs(THEME_TITLE_BRACKET);
-
     int cols = getmaxx(stdscr);
 
     wattron(win, bracket_attrs);
     mvwaddch(win, 0, cols - 14, '[');
     wattroff(win, bracket_attrs);
 
-    int presence_attrs = 0;
-
     switch (current_presence)
     {
         case CONTACT_ONLINE: