Mercurial > hg > nnchat
comparison main.c @ 472:53179f875131
Combine some prints.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 26 May 2012 07:24:42 +0300 |
parents | 607bd4491e79 |
children | 06aa00ba32a2 |
comparison
equal
deleted
inserted
replaced
471:4e178dfd0cc3 | 472:53179f875131 |
---|---|
727 return 1; | 727 return 1; |
728 } | 728 } |
729 } | 729 } |
730 else | 730 else |
731 { | 731 { |
732 printMsgQ(currWin, "Usage: /query username\n"); | 732 printMsgQ(currWin, |
733 printMsgQ(currWin, "To close a PRV query, use /close [username]\n"); | 733 "Usage: /query username\n" |
734 printMsgQ(currWin, "/close without username will close the current PRV window, if any.\n"); | 734 "To close a PRV query, use /close [username]\n" |
735 "/close without username will close the current PRV window, if any.\n"); | |
735 return 1; | 736 return 1; |
736 } | 737 } |
737 } | 738 } |
738 | 739 |
739 | 740 |
761 nnwin_close(currWin); | 762 nnwin_close(currWin); |
762 currWin = nnwin_main_window(); | 763 currWin = nnwin_main_window(); |
763 } | 764 } |
764 else | 765 else |
765 { | 766 { |
766 printMsgQ(currWin, "Usage: /close [username]\n"); | 767 printMsgQ(currWin, |
767 printMsgQ(currWin, "/close without username will close the current PRV window. if any.\n"); | 768 "Usage: /close [username]\n" |
769 "/close without username will close the current PRV window. if any.\n"); | |
768 } | 770 } |
769 } | 771 } |
770 | 772 |
771 return 0; | 773 return 0; |
772 } | 774 } |