diff --git a/lsfg-vk-common/src/configuration/detection.cpp b/lsfg-vk-common/src/configuration/detection.cpp index 155efb4..bdefc1e 100644 --- a/lsfg-vk-common/src/configuration/detection.cpp +++ b/lsfg-vk-common/src/configuration/detection.cpp @@ -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())