Ignore:
Timestamp:
Dec 18, 2023, 10:31:54 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Code cleanup.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Help.pas

    r474 r496  
    402402    BitBltCanvas(ACanvas, X, Y - 4, 24, 24, HGrSystem.Data.Canvas, 1,
    403403      146);
    404     BiColorTextOut(ACanvas, $FFFFFF, $7F007F, X + 10 - ACanvas.Textwidth(S[1]) div 2,
     404    BiColorTextOut(ACanvas, $FFFFFF, $7F007F, X + 10 - ACanvas.TextWidth(S[1]) div 2,
    405405      Y - 3, S[1]);
    406406    BiColorTextOut(ACanvas, CaptionColor, $7F007F, X + 24, Y - 3, Copy(S, 2, 255));
     
    578578              Font.Assign(UniFont[ftSmall]);
    579579              BiColorTextOut(OffScreen.Canvas, $000000, $7F007F,
    580                 (InnerWidth - Textwidth(S)) div 2, I * 24 + 26, S);
     580                (InnerWidth - TextWidth(S)) div 2, I * 24 + 26, S);
    581581              Font.Assign(UniFont[ftNormal]);
    582582            end;
Note: See TracChangeset for help on using the changeset viewer.