mirror of https://github.com/libsdl-org/SDL.git
Match style
This commit is contained in:
parent
2b784b5bf6
commit
b3336c5a73
|
|
@ -189,11 +189,11 @@ static bool WildcardMatch(const char *pattern, const char *str, bool *matched_to
|
|||
pch = *pattern;
|
||||
}
|
||||
|
||||
#if defined(SDL_PLATFORM_WINDOWS)
|
||||
#ifdef SDL_PLATFORM_WINDOWS
|
||||
if (sch == '\\') {
|
||||
sch = '/';
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
// '*' at the end can be ignored, they are allowed to match nothing.
|
||||
|
|
|
|||
Loading…
Reference in New Issue