mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 02:49:42 +01:00
LazUtils: Fix spelling in LConvEncoding. Issue #36492, patch from CudaText man.
git-svn-id: trunk@62471 -
This commit is contained in:
parent
29d750ae6a
commit
2bc8095d8d
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user