- {
- class cl_error_class *e=
- dynamic_cast<class cl_error_class *>(registered_errors->object_at(i));
- if (e->is_inamed(error_name))
- {
- if (strchr("uU-?", *value) != NULL)
- e->set_on(ERROR_PARENT);
- else if (strchr("1tTyY", *value) != NULL ||
- (strlen(value) > 1 &&
- strchr("nN", value[2]) != NULL))
- e->set_on(ERROR_ON);
- else if (strchr("0fFnN", *value) != NULL ||
- (strlen(value) > 1 &&
- strchr("fF", value[2]) != NULL))
- e->set_on(ERROR_OFF);
- else
- con->dd_printf("Bad value (%s)\n", value);
- return(DD_FALSE);
- }
- }
+ {
+ class cl_error_class *e=
+ dynamic_cast<class cl_error_class *>(registered_errors->object_at(i));
+ if (e->is_inamed(error_name))
+ {
+ if (strchr("uU-?", *value) != NULL)
+ e->set_on(ERROR_PARENT);
+ else if (strchr("1tTyY", *value) != NULL ||
+ (strlen(value) > 1 &&
+ strchr("nN", value[2]) != NULL))
+ e->set_on(ERROR_ON);
+ else if (strchr("0fFnN", *value) != NULL ||
+ (strlen(value) > 1 &&
+ strchr("fF", value[2]) != NULL))
+ e->set_on(ERROR_OFF);
+ else
+ con->dd_printf("Bad value (%s)\n", value);
+ return(DD_FALSE);
+ }
+ }