浏览代码

fix continuous fraction

johann 5 年之前
父节点
当前提交
72779ee744
共有 1 个文件被更改,包括 2 次插入2 次删除
  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);