Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The recent fix for OPTIONS=noDECgraphics,IBMgraphics would have been subject to lint complaints for some configurations. Declare the extra variable with the same conditional tests which control its use; somewhat messier, but lint free. My previous fix only solves this problem for the initial config file parsing. If you enable IBMgraphics (by any method), then interactively use the 'O' command to try to enable DECgrahpics and to _simultaneously_ disable IBMgraphics instead of letting it be overridden, you will end up with IBMgraphics on and DECgraphics off. That's because the menu entries are processed in order, and after it has acted upon the request to set DECgraphics on, the IBMgraphics flag will have been switched off; then when it acts upon the request to toggle IBMgraphics, that flag will end up being switched back on (switching DECgraphics back off in the process). This erroneous behavior was the same prior to last week's patch; I just hadn't noticed yet. It looks like we really do need to change {ASCII,DEC,IBM,MAC}graphics into a single compound option.
- Loading branch information