Skip to content

Commit 329b97a

Browse files
Mikachu2333ccmywish
authored andcommitted
fix with suggestions
1 parent 62bbe6d commit 329b97a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/xy.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#ifndef XY_H
2020
#define XY_H
2121

22-
#define _XY_Version "v0.1.6.1-2025/08/18"
22+
#define _XY_Version "v0.1.6.0-2025/08/18"
2323
#define _XY_Maintain_URL "https://github.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
2424
#define _XY_Maintain_URL2 "https://gitee.com/RubyMetric/chsrc/blob/dev/lib/xy.h"
2525

@@ -968,11 +968,6 @@ xy_normalize_path (const char *path)
968968
new = xy_2strjoin (xy_os_home, xy_str_delete_prefix (new, "~"));
969969
}
970970

971-
// 在特殊情况下上面的替换最终可能导致形如 `/foo//bar/` 之类的东西
972-
// 建议进行去重处理以防万一
973-
//new = xy_str_gsub (new, "\\", "/");
974-
//new = xy_str_gsub (new, "//", "/");
975-
976971
if (xy_on_windows)
977972
return xy_str_gsub (new, "/", "\\");
978973
else

0 commit comments

Comments
 (0)