mirror of https://github.com/libsdl-org/SDL
Fixed SDL_GetPathInfo() return value on Windows
Fixes https://github.com/libsdl-org/SDL/issues/9755
This commit is contained in:
parent
9c6aa5066a
commit
71f3750ff1
|
@ -169,7 +169,7 @@ int SDL_SYS_GetPathInfo(const char *path, SDL_PathInfo *info)
|
|||
info->modify_time = SDL_TimeFromWindows(winstat.ftLastWriteTime.dwLowDateTime, winstat.ftLastWriteTime.dwHighDateTime);
|
||||
info->access_time = SDL_TimeFromWindows(winstat.ftLastAccessTime.dwLowDateTime, winstat.ftLastAccessTime.dwHighDateTime);
|
||||
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif // SDL_FSOPS_WINDOWS
|
||||
|
|
Loading…
Reference in New Issue