(nullify_objects): Patch intrchr[] according to opt_NO_LCMS,

opt_NO_HCMS.  This fixes output of `show se b', which used not to
reflect these options.
(improve): Simplify.
This commit is contained in:
Markus Armbruster 2005-11-04 18:09:08 +00:00
parent b30f4e7591
commit b19c2a6c03
2 changed files with 8 additions and 8 deletions

View file

@ -543,6 +543,12 @@ nullify_objects(void)
pchr[i].p_camt[j] = 0;
}
}
for (i = 0; intrchr[i].in_name; i++) {
if (opt_NO_HCMS)
intrchr[i].in_hcms = 0;
if (opt_NO_LCMS)
intrchr[i].in_lcms = 0;
}
}
#if defined(_WIN32)