Skip to content

Commit

Permalink
fsl_utilities Delphi compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Saxos-Simone committed Jan 31, 2024
1 parent ebad98c commit ca580ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/fsl/fsl_utilities.pas
Original file line number Diff line number Diff line change
Expand Up @@ -16928,11 +16928,11 @@ function removeAccentFromChar(ch : UnicodeChar) : String;
#$2C6C : result := 'z';
#$A763 : result := 'z';

#$0439 : result := UnicodeToUTF8($0438);
#$0439 : result := {$IFDEF FPC}UnicodeToUTF8{$ELSE}Chr{$ENDIF}($0438);
else if ch < #$FE then
result := ch
else
result := UnicodeToUTF8(v);
result := {$IFDEF FPC}UnicodeToUTF8{$ELSE}Chr{$ENDIF}(v);
end;
end;

Expand Down

0 comments on commit ca580ba

Please sign in to comment.