Juan Lang juan.lang@gmail.com wrote:
+static const WCHAR emptyW[] = { 0 };
...
- if (MachineName != NULL)
- if (MachineName != NULL && strcmpW(MachineName, emptyW))
What's wrong with 'if (MachineName && *MachineName)' ?
What's wrong with 'if (MachineName && *MachineName)' ?
Nothing, it's my brain that's lacking. Thanks. --Juan