From 8ed1f41a50ff823eb1e0b2f5aa20d5dd7f1ffd90 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Tue, 24 Dec 2024 22:28:13 +0800 Subject: [PATCH] Update submodules about String::SetString/SetInstance --- src/Win/File.cpp | 2 +- src/Win/ProgramPath.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Win/File.cpp b/src/Win/File.cpp index 83827d9..b4cdd73 100644 --- a/src/Win/File.cpp +++ b/src/Win/File.cpp @@ -206,7 +206,7 @@ namespace hgl dir[len-1]=0; - path.SetInstance(dir,len-1); + path.fromInstance(dir,len-1); return(true); } diff --git a/src/Win/ProgramPath.cpp b/src/Win/ProgramPath.cpp index b80bb12..6b23df4 100644 --- a/src/Win/ProgramPath.cpp +++ b/src/Win/ProgramPath.cpp @@ -16,7 +16,7 @@ namespace hgl if(size==0) return(false); - result.SetString(dllfn,size); + result.fromString(dllfn,size); return(true); }