mirror of
https://github.com/PancakeTAS/lsfg-vk.git
synced 2026-04-25 20:02:13 +00:00
refactor(cleanup): fix exe detection
This commit is contained in:
parent
3caaf0dea6
commit
884ff2754b
1 changed files with 1 additions and 1 deletions
|
|
@ -58,8 +58,8 @@ Identification ls::identify() {
|
|||
pos = line.find_last_of(' ');
|
||||
if (pos == std::string::npos)
|
||||
continue;
|
||||
pos += 1; // skip space
|
||||
}
|
||||
pos += 1; // skip slash or space
|
||||
|
||||
const std::string wine_executable = line.substr(pos);
|
||||
if (wine_executable.empty())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue