Module: wine Branch: master Commit: ec5e3a3b50ab4a128a12c49c4eea7aad0a80b840 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ec5e3a3b50ab4a128a12c49c4e...
Author: Francois Gouget fgouget@free.fr Date: Wed Jun 20 23:41:05 2012 +0200
xcopy: Use the CSTR_XXX macros instead of numeric literals.
---
programs/xcopy/xcopy.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/xcopy/xcopy.c b/programs/xcopy/xcopy.c index 604c07a..cec0828 100644 --- a/programs/xcopy/xcopy.c +++ b/programs/xcopy/xcopy.c @@ -761,7 +761,7 @@ static int XCOPY_ParseCommandLine(WCHAR *suppliedsource, case 'E': if (CompareStringW(LOCALE_USER_DEFAULT, NORM_IGNORECASE | SORT_STRINGSORT, &word[1], 8, - EXCLUDE, -1) == 2) { + EXCLUDE, -1) == CSTR_EQUAL) { if (XCOPY_ProcessExcludeList(&word[9])) { XCOPY_FailMessage(ERROR_INVALID_PARAMETER); goto out;