LazUtils: Fix spelling in LConvEncoding. Issue #36492, patch from CudaText man.

git-svn-id: trunk@62471 -
This commit is contained in:
juha 2019-12-30 13:59:18 +00:00
parent 29d750ae6a
commit 2bc8095d8d
2 changed files with 6 additions and 4 deletions

View File

@ -58,7 +58,7 @@ begin
Dest^:='?'; Dest^:='?';
Inc(Dest); Inc(Dest);
end; end;
ceemReturmEmpty: ceemReturnEmpty:
Exit(''); Exit('');
end; end;
end; end;
@ -233,7 +233,7 @@ begin
Dest^ := '?'; Dest^ := '?';
Inc(Dest); Inc(Dest);
end; end;
ceemReturmEmpty: ceemReturnEmpty:
Exit(''); Exit('');
end; end;
end; end;

View File

@ -36,10 +36,12 @@ type
ceemSkip, ceemSkip,
ceemException, ceemException,
ceemReplace, ceemReplace,
ceemReturmEmpty ceemReturnEmpty
); );
var var
//Global variable which controls behaviour of encoding conversion error, in 3 places:
//a) UTF8 to single byte encoding, b) DBCS (Asian) encoding to UTF8, c) UTF8 to DBCS
ConvertEncodingErrorMode: TConvertEncodingErrorMode = ceemSkip; ConvertEncodingErrorMode: TConvertEncodingErrorMode = ceemSkip;
//encoding names //encoding names
@ -2123,7 +2125,7 @@ begin
Dest^:='?'; Dest^:='?';
inc(Dest); inc(Dest);
end; end;
ceemReturmEmpty: ceemReturnEmpty:
Exit(''); Exit('');
end; end;
end; end;