diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-10-21 16:55:18 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-10-21 16:55:18 +0200 |
commit | a04031cec9e20f4a805a174d44bf8b682a69d7a7 (patch) | |
tree | f25dacf15eee1179df36598fd7567bcdd5e7febf /src/ui | |
parent | 5ebd7df7e8ae600820358d2edd7196475826fb46 (diff) | |
download | profani-tty-a04031cec9e20f4a805a174d44bf8b682a69d7a7.tar.gz |
Apply codigng style on new MAM code
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/window.c | 2 | ||||
-rw-r--r-- | src/ui/window.h | 2 |
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); |