aboutsummaryrefslogtreecommitdiff
path: root/src/resolver/resolve_path.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolver/resolve_path.zig')
-rw-r--r--src/resolver/resolve_path.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolver/resolve_path.zig b/src/resolver/resolve_path.zig
index b1cd6e0bf..50d41eab0 100644
--- a/src/resolver/resolve_path.zig
+++ b/src/resolver/resolve_path.zig
@@ -130,7 +130,7 @@ pub fn longestCommonPathGeneric(input: []const []const u8, comptime separator: u
var string_index: usize = 1;
while (index < min_length) : (index += 1) {
while (string_index < input.len) : (string_index += 1) {
- if (input[0][index] != input[index][string_index]) {
+ if (input[0][string_index] != input[index][string_index]) {
break;
}
}