mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Fix directory iteration on Vista
FindExInfoBasic was added in Windows 7, not Vista.
This commit is contained in:
parent
f71b380f01
commit
a8492fc02d
@ -36,7 +36,7 @@ namespace bfs = boost::filesystem;
|
|||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
FINDEX_INFO_LEVELS find_info_level() {
|
FINDEX_INFO_LEVELS find_info_level() {
|
||||||
return IsWindowsVistaOrGreater() ? FindExInfoBasic : FindExInfoStandard;
|
return IsWindows7OrGreater() ? FindExInfoBasic : FindExInfoStandard;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user