about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c2
-rw-r--r--src/ui/window.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 36a5b70b..dc37a5f1 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -635,7 +635,7 @@ win_page_up(ProfWin* window)
     *page_start -= page_space;
 
     if (*page_start == -page_space && window->type == WIN_CHAT) {
-        ProfChatWin* chatwin = (ProfChatWin*) window;
+        ProfChatWin* chatwin = (ProfChatWin*)window;
         ProfBuffEntry* first_entry = buffer_size(window->layout->buffer) != 0 ? buffer_get_entry(window->layout->buffer, 0) : NULL;
 
         // Don't do anything if still fetching mam messages
diff --git a/src/ui/window.h b/src/ui/window.h
index c8a5e03a..0f5c079e 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -56,7 +56,7 @@
 #include "xmpp/contact.h"
 #include "xmpp/muc.h"
 
-#define PAD_SIZE 1000
+#define PAD_SIZE        1000
 #define LOADING_MESSAGE "Loading older messages ..."
 
 void win_move_to_end(ProfWin* window);