summaryrefslogtreecommitdiff
path: root/vchat-ui.c
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2022-05-21 13:23:54 +0200
committerDirk Engling <erdgeist@erdgeist.org>2022-05-21 13:23:54 +0200
commit3fa632be359e3a461724059119e045652b95fc66 (patch)
treebb6d225b1916e163be9e9b8d32ed6a9bd4fb6157 /vchat-ui.c
parentb66b27761593b1e9fe4b474432636c9844344e3e (diff)
Minor formatting issues
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-xvchat-ui.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index 0295f2a..71b8a27 100755
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -747,7 +747,7 @@ forceredraw (void)
747 if(console) wclear(console); 747 if(console) wclear(console);
748 if(topic) wclear(topic); 748 if(topic) wclear(topic);
749 if(private) wclear(private); 749 if(private) wclear(private);
750 if(channel) wclear(channel ); 750 if(channel) wclear(channel);
751 if(output) wclear(output); 751 if(output) wclear(output);
752 if(input) wclear(input); 752 if(input) wclear(input);
753 resize(0); 753 resize(0);
@@ -847,11 +847,11 @@ resize (int signal)
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();
@@ -1079,6 +1079,7 @@ initui (void)
1079 init_pair (7, COLOR_WHITE, -1); 1079 init_pair (7, COLOR_WHITE, -1);
1080 init_pair (8, COLOR_WHITE, COLOR_RED); 1080 init_pair (8, COLOR_WHITE, COLOR_RED);
1081 init_pair (9, COLOR_WHITE, COLOR_BLUE); 1081 init_pair (9, COLOR_WHITE, COLOR_BLUE);
1082 init_pair (10, COLOR_WHITE, COLOR_BLACK);
1082 } 1083 }
1083 else 1084 else
1084 { 1085 {
@@ -1093,6 +1094,7 @@ initui (void)
1093 init_pair (7, -1, -1); 1094 init_pair (7, -1, -1);
1094 init_pair (8, -1, -1); 1095 init_pair (8, -1, -1);
1095 init_pair (9, -1, -1); 1096 init_pair (9, -1, -1);
1097 init_pair (10, -1, -1);
1096 } 1098 }
1097 1099
1098 /* store screen-dimensions to local functions */ 1100 /* store screen-dimensions to local functions */
@@ -1238,7 +1240,8 @@ consoleline (char *message)
1238 BCOLR_SET( (&new_att), 8 ); 1240 BCOLR_SET( (&new_att), 8 );
1239 wmove (console, 0, 0); 1241 wmove (console, 0, 0);
1240 WATTR_GET( console, old_att); 1242 WATTR_GET( console, old_att);
1241 if(sb_pub->scroll!=sb_pub->count) WATTR_SET( console, new_att); 1243 if(sb_pub->scroll!=sb_pub->count)
1244 WATTR_SET( console, new_att);
1242 1245
1243 for (i = 0; i < getmaxx(console) - 1; i++) 1246 for (i = 0; i < getmaxx(console) - 1; i++)
1244 waddch (console, ' '); 1247 waddch (console, ' ');