Rename to uniform path

This commit is contained in:
Aoran Zeng
2023-09-27 18:31:45 +08:00
parent 87858ed7a8
commit fe7e08c6a5
4 changed files with 10 additions and 14 deletions

2
xy.h
View File

@@ -534,7 +534,7 @@ xy_file_exist (const char* path)
* 该函数即使在非Windows下也可调用作用是删除路径左右两边多出来的空白符
*/
static char*
xy_unix_path_to_win_if_on_win (const char* path)
xy_uniform_path (const char* path)
{
char* new = xy_str_strip(path); // 防止开发者多写了空白符