From edfdca576a5c0dc504c0fac6d1914501e484a31b Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Sat, 21 May 2022 13:32:13 +0200 Subject: Tidy up confusing formatting --- vchat-ui.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/vchat-ui.c b/vchat-ui.c index 71b8a27..458a176 100755 --- a/vchat-ui.c +++ b/vchat-ui.c @@ -845,23 +845,26 @@ resize (int signal) ******/ /* pub channel is always there, paint scrollback buffers */ - drawwin(channel, sb_pub); + drawwin(channel, sb_pub); /* if priv exists and is visible, paint scrollback buffers */ if(private && !privwinhidden) - drawwin(private, sb_priv); + drawwin(private, sb_priv); /* Send window's contents to curses virtual buffers */ - wnoutrefresh(channel); + wnoutrefresh(channel); if(private && !privwinhidden) - wnoutrefresh(private); + wnoutrefresh(private); togglequery(); /* Resize and draw our message window, render topic and console line */ - if(outputshown) resize_output(); - if(topic) topicline(NULL); - consoleline(NULL); - if(loggedin) vciredraw(); + if(outputshown) + resize_output(); + if(topic) + topicline(NULL); + consoleline(NULL); + if(loggedin) + vciredraw(); } static int -- cgit v1.2.3