Browse Source

* patch from Marģers that fixes parameter arrays formatstr, mantis 34839

git-svn-id: trunk@40811 -
marco 6 years ago
parent
commit
2c4ef5512c
3 changed files with 3 additions and 3 deletions
  1. 1 1
      packages/fv/src/editors.pas
  2. 1 1
      packages/fv/src/statuses.pas
  3. 1 1
      packages/fv/src/validate.pas

+ 1 - 1
packages/fv/src/editors.pas

@@ -1180,7 +1180,7 @@ procedure TIndicator.Draw;
 VAR
 VAR
   Color : Byte;
   Color : Byte;
   Frame : Char;
   Frame : Char;
-  L     : array[0..1] of Longint;
+  L     : array[0..1] of PtrInt;
   S     : String[15];
   S     : String[15];
   B     : TDrawBuffer;
   B     : TDrawBuffer;
 begin
 begin

+ 1 - 1
packages/fv/src/statuses.pas

@@ -785,7 +785,7 @@ var
   B : TDrawBuffer;
   B : TDrawBuffer;
   C : Word;
   C : Word;
   FillSize : Word;
   FillSize : Word;
-  PercentDone : LongInt;
+  PercentDone : PtrInt;
   S : String[4];
   S : String[4];
 begin
 begin
   { fill entire view }
   { fill entire view }

+ 1 - 1
packages/fv/src/validate.pas

@@ -919,7 +919,7 @@ END;
 {---------------------------------------------------------------------------}
 {---------------------------------------------------------------------------}
 PROCEDURE TRangeValidator.Error;
 PROCEDURE TRangeValidator.Error;
 CONST PXErrMsg = 'Value not in the range';
 CONST PXErrMsg = 'Value not in the range';
-VAR Params: Array[0..1] Of Longint;
+VAR Params: Array[0..1] Of PtrInt;
 BEGIN
 BEGIN
    Params[0] := Min;                                  { Transfer min value }
    Params[0] := Min;                                  { Transfer min value }
    Params[1] := Max;                                  { Transfer max value }
    Params[1] := Max;                                  { Transfer max value }