Hi Stefan, >> + if((needs_quote = NULL != strstrW(wszApplicationName,wSpace))) >> + len +=2; >> > i don't understand what you mean here with "complicated", please explain it.
Questions of style are always in the eye of the beholder, aren't they? ;-)
I'd say breaking the statement into two would be easier to understand:
needs_quote = strstrW(wszApplicationName, wSpace) != NULL;
if (needs_quote)
len += 2;
Thanks,
--Juan
