改进BaseString/StringInstance

This commit is contained in:
2020-04-24 21:09:25 +08:00
parent 3319d37da9
commit fb3f8b1c86
8 changed files with 248 additions and 101 deletions

View File

@@ -21,7 +21,7 @@ namespace hgl
{
if(filename.GetBeginChar()==directory_separator_char) //开头有分隔符
{
fullname.Set(pathname.c_str(),pathname.Length()-1); //少取一个字符
fullname.SetString(pathname.c_str(),pathname.Length()-1); //少取一个字符
}
else
{