From 884ff2754bb0322fb7a26025339248bff54961bd Mon Sep 17 00:00:00 2001 From: PancakeTAS Date: Wed, 24 Dec 2025 04:25:33 +0100 Subject: [PATCH] refactor(cleanup): fix exe detection --- lsfg-vk-common/src/configuration/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())