There were three flags, WF_STRAIGHT, WF_THIN_SPREAD and WF_WIDE_SPREAD, when only one flag, WF_SPREAD suffices. This makes the code simpler and gets rid of some duplication.