Browse Source

* Const string args

michael 4 years ago
parent
commit
e1637a739f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/sysutils.pas

+ 1 - 1
packages/rtl/sysutils.pas

@@ -87,7 +87,7 @@ type
       TwoDigitYearCenturyWindow: Word;
       TwoDigitYearCenturyWindow: Word;
     public
     public
       Type
       Type
-         TLocaleInitCallback = Procedure(aLocale : String; aInstance : TFormatSettings);
+         TLocaleInitCallback = Procedure(const aLocale : String; aInstance : TFormatSettings);
       class var InitLocaleHandler : TLocaleInitCallback;
       class var InitLocaleHandler : TLocaleInitCallback;
       class function Create: TFormatSettings; overload; static;
       class function Create: TFormatSettings; overload; static;
       class function Create(const ALocale: string): TFormatSettings; overload; static;
       class function Create(const ALocale: string): TFormatSettings; overload; static;