Skip to content

Commit d22203f

Browse files
committed
Missed one
1 parent e3deb12 commit d22203f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/utils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ static bool _isWslExe(
10321032

10331033
// Shared by both branches: split arguments after the exe, skipping one optional space.
10341034
const auto splitArgs = [&](size_t pos) noexcept {
1035-
if (pos < commandLine.size() && commandLine[pos] == L' ')
1035+
if (pos < commandLine.size() && til::at(commandLine, pos) == L' ')
10361036
{
10371037
pos++;
10381038
}

0 commit comments

Comments
 (0)