about summary refs log tree commit diff stats
path: root/WWW/Library
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library')
-rw-r--r--WWW/Library/Implementation/HTFormat.c18
-rw-r--r--WWW/Library/Implementation/SGML.c8
2 files changed, 21 insertions, 5 deletions
diff --git a/WWW/Library/Implementation/HTFormat.c b/WWW/Library/Implementation/HTFormat.c
index 3c20fc0a..58afc4b8 100644
--- a/WWW/Library/Implementation/HTFormat.c
+++ b/WWW/Library/Implementation/HTFormat.c
@@ -488,14 +488,24 @@ PRIVATE void HTDisplayPartial NOARGS
 	**
 	**  Update NumOfLines_partial only if we repaint the display,
 	**  so it corresponds to real number of displayed lines.
-	**  Repaint the page only if Newline_partial
-	**  in our hand is fact:
+	**  Repaint the page only when necessary:
 	*/
-	if ((Newline_partial <= HText_getNumOfLines()) &&
-		((Newline_partial + display_lines) > NumOfLines_partial))  {
+	if ((Newline_partial + display_lines) > NumOfLines_partial) {
+		/* current page not complete... */
+	if ((Newline_partial + 2)  < HText_getNumOfLines()) {
+		/* and we MAY display at least a couple of lines on the top.
+		**
+		** Note: we check the lines in _rendered_ document
+		** and real HTML source may have several Kb of headers,
+		** Javascript applets etc., which are not visible in lynx
+		** and we got a delay (correct).
+		** We should NOT try to repaint at that early stage
+		** to avoid interfere with previously displayed document. - LP
+		*/
 	    NumOfLines_partial = HText_getNumOfLines();
 	    HText_pageDisplay(Newline_partial, "");
 	}
+	}
     }
 }
 #else
diff --git a/WWW/Library/Implementation/SGML.c b/WWW/Library/Implementation/SGML.c
index 884f6d79..20aaa33e 100644
--- a/WWW/Library/Implementation/SGML.c
+++ b/WWW/Library/Implementation/SGML.c
@@ -1742,7 +1742,7 @@ top1:
 	    if ((context->isHex ? sscanf(string->data, "%lx", &code) :
 				  sscanf(string->data, "%ld", &code)) == 1) {
 		if ((code == 1) ||
-		    (code > 129 && code < 156)) {
+		    (code > 127 && code < 156)) {
 		    /*
 		    **	Assume these are Microsoft code points,
 		    **	inflicted on us by FrontPage. - FM
@@ -1758,6 +1758,12 @@ top1:
 			    */
 			    code = 0x263a;
 			    break;
+			case 128:
+			    /*
+			    **	EURO currency sign
+			    */
+			    code = 0x20ac;
+			    break;
 			case 130:
 			    /*
 			    **	SINGLE LOW-9 QUOTATION MARK (sbquo)
f='#n207'>207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389