Skip to content

Commit

Permalink
!fixup Expose the Win32 logic in OpamStd.Sys.split_path
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed May 14, 2024
1 parent 135e3c3 commit bfd52f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/opamStd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ module OpamString = struct
else
let c = path.[index]
and next = succ index in
if c = sep && normal || c = '"' then
if (c : char) = sep && normal || c = '"' then
let current = current ^ String.sub path last (index - last) in
if c = '"' then
f acc next current next (not normal)
Expand Down

0 comments on commit bfd52f4

Please sign in to comment.