forked from mia/Aegisub
Fix directory iteration on Vista
FindExInfoBasic was added in Windows 7, not Vista.
This commit is contained in:
parent
f71b380f01
commit
a8492fc02d
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue