mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 12:39:25 +02:00
* patch from Marģers that fixes parameter arrays formatstr, mantis 34839
git-svn-id: trunk@40811 -
This commit is contained in:
parent
2b3fb18327
commit
2c4ef5512c
@ -1180,7 +1180,7 @@ procedure TIndicator.Draw;
|
||||
VAR
|
||||
Color : Byte;
|
||||
Frame : Char;
|
||||
L : array[0..1] of Longint;
|
||||
L : array[0..1] of PtrInt;
|
||||
S : String[15];
|
||||
B : TDrawBuffer;
|
||||
begin
|
||||
|
@ -785,7 +785,7 @@ var
|
||||
B : TDrawBuffer;
|
||||
C : Word;
|
||||
FillSize : Word;
|
||||
PercentDone : LongInt;
|
||||
PercentDone : PtrInt;
|
||||
S : String[4];
|
||||
begin
|
||||
{ fill entire view }
|
||||
|
@ -919,7 +919,7 @@ END;
|
||||
{---------------------------------------------------------------------------}
|
||||
PROCEDURE TRangeValidator.Error;
|
||||
CONST PXErrMsg = 'Value not in the range';
|
||||
VAR Params: Array[0..1] Of Longint;
|
||||
VAR Params: Array[0..1] Of PtrInt;
|
||||
BEGIN
|
||||
Params[0] := Min; { Transfer min value }
|
||||
Params[1] := Max; { Transfer max value }
|
||||
|
Loading…
Reference in New Issue
Block a user