Parcourir la source

Typo in a comment

(cherry picked from commit a1a0bc6a51c60c9d28604c42106c71de103a8b32)

Source commit: 8b7a06f9a75ccb71806d9b4feb689b0e61b67f27
Martin Prikryl il y a 4 ans
Parent
commit
cd771ebcb3
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      source/windows/WinInterface.cpp

+ 1 - 1
source/windows/WinInterface.cpp

@@ -1283,7 +1283,7 @@ void __fastcall CenterButtonImage(TButton * Button)
     // so we have to set it to a double of desired padding.
     // The original formula is - 2 * ((CaptionWidth / 2) - (ImageWidth / 2) + ScaleByTextHeight(Button, 2))
     // the one below is equivalent, but with reduced rouding.
-    // Without the change, the rouding caused the space between icon and caption too
+    // Without the change, the rounding caused the space between icon and caption too
     // small on 200% zoom.
     // Note that (CaptionWidth / 2) - (ImageWidth / 2)
     // is approximatelly same as half of caption width before padding.