xcopy: Use the CSTR_XXX macros instead of numeric literals.

Francois Gouget fgouget at free.fr
Wed Jun 20 16:41:05 CDT 2012


---
 programs/xcopy/xcopy.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
1.7.10




More information about the wine-patches mailing list