Changeset 277
- Timestamp:
- 07/04/07 18:34:46 (1 year ago)
- Files:
-
- trunk/src/cmd4.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/cmd4.c
r274 r277 2192 2192 static bool update_option(char key, void *pgdb, int oid) 2193 2193 { 2194 /* Ignore arrow events */ 2195 if (key == ARROW_LEFT || key == ARROW_RIGHT) 2196 return; 2197 2194 2198 switch (toupper((unsigned char) key)) 2195 2199 { 2196 2200 case 'Y': 2197 case '6':2198 2201 { 2199 2202 op_ptr->opt[oid] = TRUE; … … 2202 2205 2203 2206 case 'N': 2204 case '4':2205 2207 { 2206 2208 op_ptr->opt[oid] = FALSE; … … 2208 2210 } 2209 2211 2210 case 'T': 2211 case '5': 2212 case '\n': 2213 case '\r': 2214 case '\xff': 2212 case '?': 2213 { 2214 show_file(format("option.txt#%s", option_text[oid]), NULL, 0, 0); 2215 break; 2216 } 2217 2218 default: 2215 2219 { 2216 2220 op_ptr->opt[oid] = !op_ptr->opt[oid]; … … 2218 2222 } 2219 2223 2220 case '?':2221 {2222 show_file(format("option.txt#%s", option_text[oid]), NULL, 0, 0);2223 break;2224 }2225 2224 } 2226 2225
