hedgewars/uStore.pas
branchphysfslayer
changeset 8028 dc30104660d3
parent 8025 07862ab415c8
child 8057 93e16240f178
--- a/hedgewars/uStore.pas	Wed Nov 14 22:45:36 2012 +0400
+++ b/hedgewars/uStore.pas	Wed Nov 14 23:27:33 2012 +0400
@@ -312,7 +312,7 @@
             begin
             s:= cPathz[ptFonts] + '/' + Name;
             WriteToConsole(msgLoading + s + ' (' + inttostr(Height) + 'pt)... ');
-            Handle:= TTF_OpenFontRW(Str2PChar(s), true, Height);
+            Handle:= TTF_OpenFontRW(rwopsOpenRead(s), true, Height);
             SDLTry(Handle <> nil, true);
             TTF_SetFontStyle(Handle, style);
             WriteLnToConsole(msgOK)