浏览代码

Typo in a comment

Source commit: 5c7159417d2dbea9cddc3f56b05516f1cb3a92a4
Martin Prikryl 4 年之前
父节点
当前提交
a1a0bc6a51
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/windows/WinInterface.cpp

+ 1 - 1
source/windows/WinInterface.cpp

@@ -1285,7 +1285,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.