On Mon, 20 Jan 2003, Robert Shearman wrote: [...]
- else if (uFlags & (SHCNF_PRINTERW || SHCNF_PRINTERW)
There seems to be something strange with the line above (SHCNF_PRINTERW || SHCNF_PRINTERW) == SHCNF_PRINTERW. Should this be (SHCNF_PRINTERW || SHCNF_PRINTERA) by any chance?
And probably '||' should be a '|':
else if (uFlags & (SHCNF_PRINTERA | SHCNF_PRINTERW) == (SHCNF_PRINTERA | SHCNF_PRINTERW))