From fc2f1c2d4c0aa08b055c73bd379d6975181eb0f6 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 24 Jul 2007 22:50:21 -0400 Subject: snapshot of project "lynx", label v2-8-7dev_5c --- src/GridText.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'src/GridText.c') diff --git a/src/GridText.c b/src/GridText.c index 489c5ce8..c0dcdfb5 100644 --- a/src/GridText.c +++ b/src/GridText.c @@ -1,5 +1,5 @@ /* - * $LynxId: GridText.c,v 1.140 2007/05/13 20:42:37 Takeshi.Hataguchi Exp $ + * $LynxId: GridText.c,v 1.141 2007/07/22 23:04:06 tom Exp $ * * Character grid hypertext object * =============================== @@ -50,8 +50,7 @@ #ifdef USE_COLOR_STYLE #include #include - -unsigned int cached_styles[CACHEH][CACHEW]; +#include #endif @@ -81,18 +80,6 @@ unsigned int cached_styles[CACHEH][CACHEW]; static void HText_trimHightext(HText *text, BOOLEAN final, int stop_before); -#ifdef USE_COLOR_STYLE -static void LynxResetScreenCache(void) -{ - int i, j; - - for (i = 1; (i < CACHEH && i <= display_lines); i++) { - for (j = 0; j < CACHEW; j++) - cached_styles[i][j] = 0; - } -} -#endif /* USE_COLOR_STYLE */ - struct _HTStream { /* only know it as object */ const HTStreamClass *isa; /* ... */ @@ -2097,7 +2084,7 @@ static void display_page(HText *text, line_number != text->first_lineno_last_disp_partial || line_number > text->last_lineno_last_disp_partial) #endif /* DISP_PARTIAL */ - LynxResetScreenCache(); + ResetCachedStyles(); #endif /* USE_COLOR_STYLE */ #ifdef DISP_PARTIAL -- cgit 1.4.1-2-gfad0 2'>commit diff stats
path: root/kb.c
blob: 7eb788a363962ed8761a1388b63309084f9b93a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57