Match style

This commit is contained in:
Alexander Batalov
2025-02-27 09:53:44 +03:00
committed by Sam Lantinga
parent 2b784b5bf6
commit b3336c5a73

View File

@@ -189,11 +189,11 @@ static bool WildcardMatch(const char *pattern, const char *str, bool *matched_to
pch = *pattern; pch = *pattern;
} }
#if defined(SDL_PLATFORM_WINDOWS) #ifdef SDL_PLATFORM_WINDOWS
if (sch == '\\') { if (sch == '\\') {
sch = '/'; sch = '/';
} }
#endif #endif
} }
// '*' at the end can be ignored, they are allowed to match nothing. // '*' at the end can be ignored, they are allowed to match nothing.