diff options
| author | Rob Mensching <rob@firegiant.com> | 2025-11-01 21:52:31 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2025-11-03 14:49:39 -0800 |
| commit | d2ba0da55725f2908b67e1470afc7cfd71cb3d1f (patch) | |
| tree | c2a1db61c5fac031c698976106bba2c453d85ded /src/api/burn/balutil/balretry.cpp | |
| parent | 4d626c294c4783d454e27ea4e5614037dac8576e (diff) | |
| download | wix-d2ba0da55725f2908b67e1470afc7cfd71cb3d1f.tar.gz wix-d2ba0da55725f2908b67e1470afc7cfd71cb3d1f.tar.bz2 wix-d2ba0da55725f2908b67e1470afc7cfd71cb3d1f.zip | |
Use CompareStringOrdinal() instead of CompareString() case-sensitive
This commit moves to the modern CompareStringOrdinal() for all case-sensitve
uses of CompareString() with the invariant locale.
Resolves 6947
Diffstat (limited to 'src/api/burn/balutil/balretry.cpp')
| -rw-r--r-- | src/api/burn/balutil/balretry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/burn/balutil/balretry.cpp b/src/api/burn/balutil/balretry.cpp index d2973026..0c686ad2 100644 --- a/src/api/burn/balutil/balretry.cpp +++ b/src/api/burn/balutil/balretry.cpp | |||
| @@ -211,7 +211,7 @@ static BOOL IsActiveRetryEntry( | |||
| 211 | { | 211 | { |
| 212 | BOOL fActive = FALSE; | 212 | BOOL fActive = FALSE; |
| 213 | 213 | ||
| 214 | fActive = vrgRetryInfo[type].sczId && CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, 0, sczId, -1, vrgRetryInfo[type].sczId, -1); | 214 | fActive = vrgRetryInfo[type].sczId && CSTR_EQUAL == ::CompareStringOrdinal(sczId, -1, vrgRetryInfo[type].sczId, -1, FALSE); |
| 215 | 215 | ||
| 216 | return fActive; | 216 | return fActive; |
| 217 | } | 217 | } |
