Changeset e1c4636 for variable.c
- Timestamp:
- Jul 9, 2002, 12:04:35 AM (22 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 2c8a07c
- Parents:
- 10b866d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
variable.c
r217a43e re1c4636 7 7 8 8 static const char fileIdent[] = "$Id$"; 9 10 static int in_regtest = 0; 9 11 10 12 #define OWLVAR_BOOL(name,default,docstring) \ … … 85 87 "turn class logging on or off" ), 86 88 89 OWLVAR_BOOL( "colorztext" /* %OwlVarStub */, 1, 90 "allow @color() in zephyrs to change color" ), 91 87 92 OWLVAR_ENUM_FULL( "disable-ctrl-d" /* %OwlVarStub:lockout_ctrld */, 1, 88 93 "don't send zephyrs on C-d (or disable if in the middle of the message if set to 'middle')", "off,middle,on", … … 193 198 * any user setting of this */ 194 199 int owl_variable_disable_ctrl_d_set(owl_variable *v, void *newval) { 200 201 if (in_regtest) return owl_variable_int_set_default(v, newval); 202 195 203 if (newval && !owl_context_is_startup(owl_global_get_context(&g))) { 196 204 if (*(int*)newval == 2) { … … 675 683 char buf[1024]; 676 684 685 in_regtest = 1; 686 677 687 printf("BEGIN testing owl_variable\n"); 678 688 FAIL_UNLESS("setup", 0==owl_variable_dict_setup(&vd));
Note: See TracChangeset
for help on using the changeset viewer.