소스 검색

Match style

Alexander Batalov 6 달 전
부모
커밋
b3336c5a73
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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.