summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-21 13:32:13 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-21 13:32:13 +0200
commitedfdca576a5c0dc504c0fac6d1914501e484a31b (patch)
tree66f1dfce20c87daa5a7a314073f897d9d3643f7f
parentd78e83314e25211d0a8cdb67948b792592fc5131 (diff)
Tidy up confusing formatting
-rwxr-xr-xvchat-ui.c19
1 files 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)
845 ******/ 845 ******/
846 846
847 /* pub channel is always there, paint scrollback buffers */ 847 /* pub channel is always there, paint scrollback buffers */
848 drawwin(channel, sb_pub); 848 drawwin(channel, sb_pub);
849 /* if priv exists and is visible, paint scrollback buffers */ 849 /* if priv exists and is visible, paint scrollback buffers */
850 if(private && !privwinhidden) 850 if(private && !privwinhidden)
851 drawwin(private, sb_priv); 851 drawwin(private, sb_priv);
852 /* Send window's contents to curses virtual buffers */ 852 /* Send window's contents to curses virtual buffers */
853 wnoutrefresh(channel); 853 wnoutrefresh(channel);
854 if(private && !privwinhidden) 854 if(private && !privwinhidden)
855 wnoutrefresh(private); 855 wnoutrefresh(private);
856 856
857 togglequery(); 857 togglequery();
858 858
859 /* Resize and draw our message window, render topic and 859 /* Resize and draw our message window, render topic and
860 console line */ 860 console line */
861 if(outputshown) resize_output(); 861 if(outputshown)
862 if(topic) topicline(NULL); 862 resize_output();
863 consoleline(NULL); 863 if(topic)
864 if(loggedin) vciredraw(); 864 topicline(NULL);
865 consoleline(NULL);
866 if(loggedin)
867 vciredraw();
865} 868}
866 869
867static int 870static int