Commit 067c11b

Nick Faro committed on
Compatible call to IntToHex
commit 067c11b168f512dda001a65ff10ee6188ba280d7 parent 90dae97
1 changed files +1−1
Modifiedtracker.pas +1−1
@@ -535,7 +535,7 @@ procedure TStringGrid.DrawCellAutonumbering(aCol, aRow: Integer; aRect: TRect;
535 const aValue: string); 535 const aValue: string);
536 begin 536 begin
537 if FDrawHexAutonumbering then 537 if FDrawHexAutonumbering then
538 inherited DrawCellAutonumbering(aCol, aRow, aRect, IntToHex(Int8(StrToInt(aValue)))) 538 inherited DrawCellAutonumbering(aCol, aRow, aRect, IntToHex(StrToInt(aValue), 2))
539 else 539 else
540 inherited DrawCellAutonumbering(aCol, aRow, aRect, aValue); 540 inherited DrawCellAutonumbering(aCol, aRow, aRect, aValue);
541 end; 541 end;