We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3deb12 commit d22203fCopy full SHA for d22203f
src/types/utils.cpp
@@ -1032,7 +1032,7 @@ static bool _isWslExe(
1032
1033
// Shared by both branches: split arguments after the exe, skipping one optional space.
1034
const auto splitArgs = [&](size_t pos) noexcept {
1035
- if (pos < commandLine.size() && commandLine[pos] == L' ')
+ if (pos < commandLine.size() && til::at(commandLine, pos) == L' ')
1036
{
1037
pos++;
1038
}
0 commit comments