about summary refs log tree commit diff stats
path: root/src/GridText.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-11-17 14:36:49 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1997-11-17 14:36:49 -0500
commite47cfd5646f55de9688ff42df3055fd9c09b503f (patch)
treeaab6f3c275e0f2ef58110654e4d87e5bc6676130 /src/GridText.c
parentb63d287c6f3e67f8574ca2155c661288bc7dcd05 (diff)
downloadlynx-snapshots-e47cfd5646f55de9688ff42df3055fd9c09b503f.tar.gz
snapshot of project "lynx", label v2-7-1ac_0-95
Diffstat (limited to 'src/GridText.c')
-rw-r--r--src/GridText.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/GridText.c b/src/GridText.c
index 25ebf20b..2cfae408 100644
--- a/src/GridText.c
+++ b/src/GridText.c
@@ -6175,16 +6175,19 @@ PUBLIC char * HText_setLastOptionValue ARGS7(
 	     *  No option items yet.
 	     */
 	    if (text->last_anchor->input_field->type != F_OPTION_LIST_TYPE) {
-		if (TRACE)
+		if (TRACE) {
 		    fprintf(stderr,
-   "HText_setLastOptionValue: last input_field not OPTION_LIST_TYPE but %d, ignoring!\n",
+   "HText_setLastOptionValue: last input_field not F_OPTION_LIST_TYPE (%d)\n",
+			    F_OPTION_LIST_TYPE);
+		    fprintf(stderr,
+   "                          but %d, ignoring!\n",
 			    text->last_anchor->input_field->type);
+		}
 		return NULL;
 	    }
 
-
 	    new_ptr = text->last_anchor->input_field->select_list = 
-				(OptionType *) calloc(1, sizeof(OptionType));
+				(OptionType *)calloc(1, sizeof(OptionType));
 	    if (new_ptr == NULL)
 	        outofmem(__FILE__, "HText_setLastOptionValue");
 
@@ -6197,7 +6200,7 @@ PUBLIC char * HText_setLastOptionValue ARGS7(
 	    number++;  /* add one more */
 
 	    op_ptr->next = new_ptr =
-	    			(OptionType *) calloc(1, sizeof(OptionType));
+	    			(OptionType *)calloc(1, sizeof(OptionType));
 	    if (new_ptr == NULL)
 	        outofmem(__FILE__, "HText_setLastOptionValue");
 	}
@@ -8222,8 +8225,10 @@ PUBLIC void HText_setKcode ARGS3(
 	       !strcmp(charset, "euc-kr") ||
 	       !strcmp(charset, "iso-2022-kr") ||
 	       !strcmp(charset, "big5") ||
+	       !strcmp(charset, "cn-big5") ||
 	       !strcmp(charset, "euc-cn") ||
 	       !strcmp(charset, "gb2312") ||
+	       !strncmp(charset, "cn-gb", 5) ||
 	       !strcmp(charset, "iso-2022-cn")) {
 	text->kcode = EUC;
     } else {
tter Araq <rumpf_a@web.de> 2010-10-26 07:51:26 +0200 added install.sh; scgi: does not set system.stackTraceNewLine anymore' href='/ahoang/Nim/commit/.gitignore?h=devel&id=0879f0b0a7741dc725f1993b4490e00a13a640e0'>0879f0b0a ^
1b1bb284d ^
0879f0b0a ^

5263d9d6f ^
93e03144f ^
1b1bb284d ^





2f48dbd16 ^
0879f0b0a ^
a1203cf84 ^
d20a8ac68 ^
b2e486b23 ^
9af85fb69 ^
1b1bb284d ^
1dd9ec85b ^
f2f16f645 ^






ca4b971bc ^
f2f16f645 ^


f04b502cf ^

9b29436f6 ^
f04b502cf ^

5a4122dc9 ^
809a4a77a ^

e9b665f33 ^

c60bb9464 ^
e9b665f33 ^

f04b502cf ^
1b1bb284d ^
809a4a77a ^

dce0b3b00 ^
b77ae66e8 ^
dce0b3b00 ^

93cd98dd1 ^
b7dd8e7df ^
5263d9d6f ^



035f0fb02 ^
25b4a0ab0 ^
035f0fb02 ^

8d2953e80 ^
e9b665f33 ^
a5ecbf823 ^

25b4a0ab0 ^


606288974 ^
25b4a0ab0 ^
4a720394b ^


16e800503 ^

4a720394b ^
88b5dd336 ^
c5c6bae2a ^

e5ae7ceaa ^
6e4cd3e5b ^

e5ae7ceaa ^

1b54be777 ^
567691220 ^

58282547f ^


44f672a51 ^

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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111