Content-Length: 279515 | pFad | http://github.com/pyscripter/python4delphi/commit/142db9f1ab28100da5c75bfc9c59ba6178dd9986

B2 Fix #104 · pyscripter/python4delphi@142db9f · GitHub
Skip to content

Commit 142db9f

Browse files
committed
Fix #104
1 parent e5b2c0d commit 142db9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PythonForDelphi/Components/Sources/Core/PythonEngine.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3175,7 +3175,7 @@ procedure MaskFPUExceptions(ExceptionsMasked : boolean;
31753175
Converts line breaks to LF and optionally adds a line break at the end
31763176
*)
31773177
function CleanString(const s : AnsiString; AppendLF : Boolean = True) : AnsiString; overload;
3178-
function CleanString(const s : string; AppendLF : Boolean = True) : string; overload;
3178+
function CleanString(const s : UnicodeString; AppendLF : Boolean = True) : UnicodeString; overload;
31793179

31803180
//#######################################################
31813181
//## ##
@@ -9860,7 +9860,7 @@ function CleanString(const s : AnsiString; AppendLF : Boolean) : AnsiString;
98609860
Result := Result + LF;
98619861
end;
98629862

9863-
function CleanString(const s : string; AppendLF : Boolean) : string;
9863+
function CleanString(const s : UnicodeString; AppendLF : Boolean) : UnicodeString;
98649864
begin
98659865
Result := AdjustLineBreaks(s, tlbsLF);
98669866
if AppendLF and (result[length(result)] <> LF) then

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/pyscripter/python4delphi/commit/142db9f1ab28100da5c75bfc9c59ba6178dd9986

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy