diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-06-04 14:28:00 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-06-04 14:28:00 -0400 |
commit | b5ffa7c020e319cbfceee3c506f5c16764800dc2 (patch) | |
tree | 01d4efe0277a37c6bb05dc6599638822aa8a238d /WWW/Library/Implementation/HTFormat.c | |
parent | 6e75abc094af51d02563fd5250d1b55e9bb96912 (diff) | |
download | lynx-snapshots-b5ffa7c020e319cbfceee3c506f5c16764800dc2.tar.gz |
snapshot of project "lynx", label v2-8-1dev_14
Diffstat (limited to 'WWW/Library/Implementation/HTFormat.c')
-rw-r--r-- | WWW/Library/Implementation/HTFormat.c | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/WWW/Library/Implementation/HTFormat.c b/WWW/Library/Implementation/HTFormat.c index db0b59c1..fb7705e3 100644 --- a/WWW/Library/Implementation/HTFormat.c +++ b/WWW/Library/Implementation/HTFormat.c @@ -579,8 +579,11 @@ PUBLIC int HTCopy ARGS4( (*targetClass.put_block)(sink, input_buffer, status); #ifdef DISP_PARTIAL - if (display_partial) - HText_pageDisplay(Newline,""); + if (display_partial && + ((Newline_partial + display_lines) > NumOfLines_partial)) { + NumOfLines_partial = HText_getNumOfLines(); + HText_pageDisplay(Newline_partial, ""); + } #endif /* DISP_PARTIAL */ bytes += status; @@ -644,8 +647,11 @@ PUBLIC int HTFileCopy ARGS2( (*targetClass.put_block)(sink, input_buffer, status); #ifdef DISP_PARTIAL - if (display_partial) - HText_pageDisplay(Newline,""); + if (display_partial && + ((Newline_partial + display_lines) > NumOfLines_partial)) { + NumOfLines_partial = HText_getNumOfLines(); + HText_pageDisplay(Newline_partial, ""); + } #endif /* DISP_PARTIAL */ bytes += status; @@ -738,8 +744,11 @@ PRIVATE int HTGzFileCopy ARGS2( (*targetClass.put_block)(sink, input_buffer, status); #ifdef DISP_PARTIAL - if (display_partial) - HText_pageDisplay(Newline,""); + if (display_partial && + ((Newline_partial + display_lines) > NumOfLines_partial)) { + NumOfLines_partial = HText_getNumOfLines(); + HText_pageDisplay(Newline_partial, ""); + } #endif /* DISP_PARTIAL */ bytes += status; |