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^:='?';
Inc(Dest);
end;
ceemReturmEmpty:
ceemReturnEmpty:
Exit('');
end;
end;
@ -233,7 +233,7 @@ begin
Dest^ := '?';
Inc(Dest);
end;
ceemReturmEmpty:
ceemReturnEmpty:
Exit('');
end;
end;

View File

@ -36,10 +36,12 @@ type
ceemSkip,
ceemException,
ceemReplace,
ceemReturmEmpty
ceemReturnEmpty
);
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;
//encoding names
@ -2123,7 +2125,7 @@ begin
Dest^:='?';
inc(Dest);
end;
ceemReturmEmpty:
ceemReturnEmpty:
Exit('');
end;
end;