Alexander Batalov 1 hónapja
szülő
commit
b3336c5a73
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      src/filesystem/SDL_filesystem.c

+ 2 - 2
src/filesystem/SDL_filesystem.c

@@ -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.