MaiXinRong %!s(int64=6) %!d(string=hai) anos
pai
achega
2740bdba9a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Forms/OptionFrm.pas

+ 1 - 1
Forms/OptionFrm.pas

@@ -155,7 +155,7 @@ procedure TOptionForm.edtOverRangePercentKeyDown(Sender: TObject;
 var
   fPer: Double;
 begin
-  if Key = #13 then
+  if (Key = 13) then
   begin
     fPer := StrToIntDef(TEdit(Sender).text, 0);
     if (fPer < 50) then