Skip to content

Commit

Permalink
[bug] joinPath2
Browse files Browse the repository at this point in the history
  • Loading branch information
Keisuke Izumiya committed Oct 8, 2024
1 parent e9618ef commit 49daafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pon2/private/misc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func joinPath2(path1, path2: string): string {.inline.} =
when not defined(js):
path1 / path2
else:
if '\\' in path:
if '\\' in path1:
path1 & '\\' & path2
else:
path1 / path2
Expand Down

0 comments on commit 49daafe

Please sign in to comment.