Ignore:
Timestamp:
Apr 15, 2024, 8:59:23 PM (4 weeks ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/NatStat.pas

    r531 r536  
    266266
    267267  Offscreen.Canvas.Font.Assign(UniFont[ftCaption]);
    268   RisedTextout(Offscreen.Canvas,
    269     40 { (ClientWidth-BiColorTextWidth(offscreen.canvas,caption)) div 2 } ,
     268  RisedTextOut(Offscreen.Canvas,
     269    40 { (ClientWidth - BiColorTextWidth(Offscreen.Canvas,Caption)) div 2 },
    270270    7, Caption);
    271271
     
    383383    begin
    384384      S := Phrases.Lookup('FRNOCIVILREP');
    385       RisedTextout(Canvas, (ClientWidth - BiColorTextWidth(Canvas, S)) div 2,
     385      RisedTextOut(Canvas, (ClientWidth - BiColorTextWidth(Canvas, S)) div 2,
    386386        yReport + hReport div 2 - 10, S);
    387387    end;
Note: See TracChangeset for help on using the changeset viewer.