mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-30 15:08:31 +00:00
Match style
This commit is contained in:

committed by
Sam Lantinga

parent
2b784b5bf6
commit
b3336c5a73
@@ -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.
|
||||||
|
Reference in New Issue
Block a user