2011/8/11 Nowres Rafid nowres.rafed@gmail.com:
here we change the "command"
if (CompareStringW(LOCALE_USER_DEFAULT, NORM_IGNORECASE | SORT_STRINGSORT, command, 2, parmD, -1) == 2) { command += 2; while (*command && *command==' ') command++; }
that's why I decided to change it too.
What I mean by constant is that the "WCHAR* command" contents isn't modified. Here the "command" formal parameter is just a copy of caller's WCHAR pointer, so you don't affect the caller by doing pointer arithmetic on it (although using a local pointer would be clearer/better style), and the actual contents isn't altered.
Frédéric
NB: You should leave wine-devel as Cc: