Explorar o código

* RegisterBGIFont would not return a FONT number!

carl %!s(int64=26) %!d(string=hai) anos
pai
achega
dcc1d5f92b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/inc/graph/text.inc

+ 1 - 1
rtl/inc/graph/text.inc

@@ -297,7 +297,7 @@
                             exit;
                           end;
                         fonts[b].instr:=FontData;
-                        RegisterBGIfont:=grOK;
+                        RegisterBGIfont:=b;
                      end;
                 end;
            end