mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-20 18:54:38 +10:00
Fix a bug.
This commit is contained in:
@@ -1808,6 +1808,7 @@ std::vector <std::wstring> LoadFileListW (const std::wstring &filePath)
|
||||
std::wstring line;
|
||||
while (std::getline (file, line))
|
||||
{
|
||||
line = std::wnstring::trim (line);
|
||||
if (!line.empty () && line.back () == L'\r') line.pop_back ();
|
||||
if (!line.empty () && !std::wnstring::empty (line) && IsFileExists (line)) result.push_back (line);
|
||||
auto fullFile = CombinePath (GetFileDirectoryW (filePath), line);
|
||||
|
||||
Reference in New Issue
Block a user