@@ -723,7 +723,7 @@ page_switch_result page_switch()
723723 if (s != nullptr )
724724 {
725725 /* compile regular expression */
726- printf (" \n %s\n " ,s) FLUSH ;
726+ printf (" \n %s\n " , s) ;
727727 termdown (2 );
728728 return PS_ASK;
729729 }
@@ -740,8 +740,7 @@ page_switch_result page_switch()
740740 g_gline = g_tc_LINES-2 ;
741741#ifdef DEBUG
742742 if (debug & DEB_INNERSRCH) {
743- printf (" Start here? %d >=? %d\n " ,g_topline + g_gline + 1 ,g_artline)
744- FLUSH;
743+ printf (" Start here? %d >=? %d\n " ,g_topline + g_gline + 1 ,g_artline);
745744 termdown (1 );
746745 }
747746#endif
@@ -767,7 +766,7 @@ page_switch_result page_switch()
767766 }
768767#ifdef DEBUG
769768 if (debug & DEB_INNERSRCH)
770- printf (" Test %s\n " ,s) FLUSH ;
769+ printf (" Test %s\n " ,s);
771770#endif
772771 success = execute (&s_gcompex,s) != nullptr ;
773772 if (nlptr)
@@ -779,14 +778,13 @@ page_switch_result page_switch()
779778 }
780779 if (!g_innersearch) {
781780 seekartbuf (g_artpos);
782- fputs (" (Not found)" ,stdout) FLUSH ;
781+ fputs (" (Not found)" , stdout);
783782 g_term_col = 11 ;
784783 return PS_ASK;
785784 }
786785#ifdef DEBUG
787786 if (debug & DEB_INNERSRCH) {
788- printf (" On page? %ld <=? %ld\n " ,(long )g_innersearch,(long )g_artpos)
789- FLUSH;
787+ printf (" On page? %ld <=? %ld\n " ,(long )g_innersearch,(long )g_artpos);
790788 termdown (1 );
791789 }
792790#endif
@@ -799,7 +797,7 @@ page_switch_result page_switch()
799797 g_highlight = g_artline - 1 ;
800798#ifdef DEBUG
801799 if (debug & DEB_INNERSRCH) {
802- printf (" @ %d\n " ,g_highlight) FLUSH ;
800+ printf (" @ %d\n " ,g_highlight);
803801 termdown (1 );
804802 }
805803#endif
@@ -829,7 +827,7 @@ page_switch_result page_switch()
829827 refresh_screen:
830828#ifdef DEBUG
831829 if (debug & DEB_INNERSRCH) {
832- printf (" Topline = %d" ,g_topline) FLUSH ;
830+ printf (" Topline = %d" ,g_topline);
833831 fgets (g_buf, sizeof g_buf, stdin);
834832 }
835833#endif
@@ -878,7 +876,7 @@ page_switch_result page_switch()
878876 for (pos = g_artpos - pos; pos-- && !at_nl (*s); s++)
879877 putchar (*s);
880878 color_default ();
881- putchar (' \n ' ) FLUSH ;
879+ putchar (' \n ' );
882880 g_topline--;
883881 g_artpos = vrdary (--g_artline);
884882 if (g_artpos < 0 )
@@ -1061,7 +1059,7 @@ page_switch_result page_switch()
10611059 case ' q' : /* quit this article? */
10621060 return PS_TOEND;
10631061 default :
1064- fputs (g_hforhelp,stdout) FLUSH ;
1062+ fputs (g_hforhelp,stdout);
10651063 termdown (1 );
10661064 settle_down ();
10671065 return PS_ASK;
@@ -1074,8 +1072,7 @@ bool innermore()
10741072 if (g_artpos < g_innersearch) { /* not even on page yet? */
10751073#ifdef DEBUG
10761074 if (debug & DEB_INNERSRCH)
1077- printf (" Not on page %ld < %ld\n " ,(long )g_artpos,(long )g_innersearch)
1078- FLUSH;
1075+ printf (" Not on page %ld < %ld\n " ,(long )g_artpos,(long )g_innersearch);
10791076#endif
10801077 return true ;
10811078 }
@@ -1088,7 +1085,7 @@ bool innermore()
10881085#ifdef DEBUG
10891086 if (debug & DEB_INNERSRCH) {
10901087 printf (" There it is %ld = %ld, %d @ %d\n " ,(long )g_artpos,
1091- (long )g_innersearch,g_hide_everything,g_highlight) FLUSH ;
1088+ (long )g_innersearch,g_hide_everything,g_highlight);
10921089 termdown (1 );
10931090 }
10941091#endif
@@ -1101,8 +1098,7 @@ bool innermore()
11011098 }
11021099#ifdef DEBUG
11031100 if (debug & DEB_INNERSRCH) {
1104- printf (" Not far enough? %d <? %d + %d\n " ,g_artline,s_isrchline,g_gline)
1105- FLUSH;
1101+ printf (" Not far enough? %d <? %d + %d\n " ,g_artline,s_isrchline,g_gline);
11061102 termdown (1 );
11071103 }
11081104#endif
0 commit comments