Explorar o código

fix continuous fraction

johann %!s(int64=5) %!d(string=hai) anos
pai
achega
72779ee744
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lazpaint/ugraph.pas

+ 2 - 2
lazpaint/ugraph.pas

@@ -62,7 +62,7 @@ procedure BCAssignSystemStyle(ACombo: TBCComboBox; ADarkTheme: boolean; AFontHei
 
 implementation
 
-uses GraphType, math, Types, BGRAUTF8, FileUtil, dialogs, BGRAAnimatedGif,
+uses GraphType, math, Types, FileUtil, dialogs, BGRAAnimatedGif,
   BGRAGradients, BGRATextFX, uresourcestrings, LCScaleDPI, BCTypes,
   BGRAThumbnail, LCVectorPolyShapes, udarktheme;
 
@@ -233,7 +233,7 @@ var
   begin
     temp := num;
     num := denom;
-    denom := num;
+    denom := temp;
   end;
 
   procedure AddFrac(AValue: integer);