diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-09-30 21:18:18 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-09-30 21:18:18 -0400 |
commit | 4fa34a534d3c5600a483a4a0b2f40939dee4ec14 (patch) | |
tree | 55d81c948ed2fb776ba5bd4941e6bcd758e39747 /WWW/Library/Implementation/HTFormat.c | |
parent | 6b6388d0c6a89daaa3c95fc3aa54e38e71c7cc15 (diff) | |
download | lynx-snapshots-4fa34a534d3c5600a483a4a0b2f40939dee4ec14.tar.gz |
snapshot of project "lynx", label v2-8-1pre_5
Diffstat (limited to 'WWW/Library/Implementation/HTFormat.c')
-rw-r--r-- | WWW/Library/Implementation/HTFormat.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/WWW/Library/Implementation/HTFormat.c b/WWW/Library/Implementation/HTFormat.c index 0a920e0e..859934e8 100644 --- a/WWW/Library/Implementation/HTFormat.c +++ b/WWW/Library/Implementation/HTFormat.c @@ -495,7 +495,7 @@ PRIVATE void HTDisplayPartial NOARGS ** Otherwise HTMainText holds info from the previous document ** and we may repaint it instead of the new one: ** prev doc scrolled to the first line (=Newline_partial) - ** is not good looking :-) 23 Aug 1998 Leonid Pauzner + ** is not good looking :-) 23 Aug 1998 Leonid Pauzner ** ** So repaint the page only when necessary: */ @@ -503,16 +503,13 @@ PRIVATE void HTDisplayPartial NOARGS /* new hypertext document available */ && ((Newline_partial + display_lines) > NumOfLines_partial) /* current page not complete... */ - && ((Newline_partial + - ((min_lines_partial < 1) ? - display_lines : min_lines_partial)) - < HText_getNumOfLines())) { - /* - * and we MAY display certain amount of lines (from lynx.cfg) - * - * By default, wait for complete screen: - * incremental rendering of the first screen reported annoying - * on slow network connection. + && (partial_threshold > 0 ? ((Newline_partial + partial_threshold) < HText_getNumOfLines()) : + ((Newline_partial + display_lines) < HText_getNumOfLines()))) { + /* + * Originally we rendered by increments of 2 lines, + * but that got annoying on slow network connections. + * Then we switched to full-pages. Now it's configurable. + * If partial_threshold < 0, then it's a full page */ NumOfLines_partial = HText_getNumOfLines(); HText_pageDisplay(Newline_partial, ""); |