소스 검색

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);