Browse Source

Typo in a comment

Source commit: 4cb9b5f737fbe8713d1885ccece2d8c985e7f9f4
Martin Prikryl 2 năm trước cách đây
mục cha
commit
5cde111926
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      source/windows/VCLCommon.cpp

+ 2 - 2
source/windows/VCLCommon.cpp

@@ -810,8 +810,8 @@ static void __fastcall FormShowingChanged(TForm * Form, TWndMethod WndProc, TMes
     // At least on single monitor setup, monitor DPI is 100% but system DPI is higher,
     // WM_DPICHANGED is not sent. But VCL scales the form using system DPI.
     // Also we have to do this always for implicitly placed forms (poDefaultPosOnly), like TEditorForm,
-    // as thay never get the WM_DPICHANGED.
-    // Call this before WndProc below, i.e. before OnShow event (particularly important for the TEditorForm::FormShow.
+    // as they never get the WM_DPICHANGED.
+    // Call this before WndProc below, i.e. before OnShow event (particularly important for the TEditorForm::FormShow).
 
     // GetControlPixelsPerInch would return Form.PixelsPerInch, but we want to get a new DPI of the form monitor.
     ChangeFormPixelsPerInch(Form, GetMonitorPixelsPerInch(GetMonitorFromControl(Form)));