mirror of
https://github.com/aimrebirth/tools.git
synced 2026-04-14 17:33:25 +00:00
Do not read .bak files as quest db.
This commit is contained in:
parent
c413781530
commit
a8a8a812c0
1 changed files with 3 additions and 0 deletions
|
|
@ -122,6 +122,9 @@ struct DemoApp {
|
|||
continue;
|
||||
}
|
||||
auto q = fn.path().stem().wstring();
|
||||
while (q.find('.') != -1) {
|
||||
q = fs::path{q}.stem();
|
||||
}
|
||||
std::transform(q.begin(), q.end(), q.begin(), ::towlower);
|
||||
auto tofind = L"quest_"s;
|
||||
if (!q.starts_with(tofind)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue