优化linux 剪切板,优化 api返回非const string销毁问题
This commit is contained in:
2024-03-13 11:51:35 +08:00
parent 76bc4e3372
commit 515f227bb2
3 changed files with 186 additions and 40 deletions
+1 -1
View File
@@ -6429,7 +6429,7 @@ begin
end
function to_ansi_str(s);
begin
if IsTextUTF8(s) then return UTF8toansi(s);
if IsTextUTF8(s)=1 then return UTF8toansi(s);
return s;
end
function ReWriteString(fn,d);