Forráskód Böngészése

Correct symbol casing

Source commit: f1d7b6420e25efdf322a0aad663d76c1bfa07d71
Martin Prikryl 9 éve
szülő
commit
9a09800d9c

+ 1 - 1
source/packages/filemng/IEComboBox.pas

@@ -214,7 +214,7 @@ begin
     else
   begin
     ItemWidth := GetMaxItemWidth + ScaleByPixelsPerInch(8);
-    if Items.Count > DropDowncount then
+    if Items.Count > DropDownCount then
       Inc(ItemWidth, GetSystemMetrics(SM_CXVSCROLL));
     Self.Perform(CB_SETDROPPEDWIDTH, ItemWidth, 0);
   end;

+ 1 - 1
source/packages/my/HistoryComboBox.pas

@@ -114,7 +114,7 @@ begin
 
   // taken from TIECustomComboBox:
   ItemWidth := GetMaxItemWidth + ScaleByPixelsPerInch(8);
-  if Items.Count > DropDowncount then
+  if Items.Count > DropDownCount then
     Inc(ItemWidth, GetSystemMetrics(SM_CXVSCROLL));
   Self.Perform(CB_SETDROPPEDWIDTH, ItemWidth, 0);
 end;