summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xvchat-ui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/vchat-ui.c b/vchat-ui.c
index 031045f..e846eb8 100755
--- a/vchat-ui.c
+++ b/vchat-ui.c
@@ -717,7 +717,7 @@ clearpriv ()
717{ 717{
718 WINDOW *dest = NULL; 718 WINDOW *dest = NULL;
719 /* do we have a private window? */ 719 /* do we have a private window? */
720 if (private) 720 if (private && !privwinhidden )
721 dest = private; 721 dest = private;
722 else 722 else
723 dest = channel; 723 dest = channel;
@@ -726,6 +726,7 @@ clearpriv ()
726 wclear (dest); 726 wclear (dest);
727 wmove (dest, dest->_maxy, dest->_maxx); 727 wmove (dest, dest->_maxy, dest->_maxx);
728 wrefresh (dest); 728 wrefresh (dest);
729
729} 730}
730 731
731/* clear channel window */ 732/* clear channel window */