hedgewars/uWorld.pas
changeset 13983 9be2926890cd
parent 13898 8c702a4839ec
child 14024 58e54e737279
--- a/hedgewars/uWorld.pas	Thu Oct 25 11:37:11 2018 +0200
+++ b/hedgewars/uWorld.pas	Thu Oct 25 11:48:40 2018 +0200
@@ -1693,7 +1693,7 @@
             Frames:= 0;
             CountTicks:= 0;
             s:= Format(shortstring(trmsg[sidFPS]), inttostr(FPS));
-            tmpSurface:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(s), cWhiteColorChannels);
+            tmpSurface:= TTF_RenderUTF8_Blended(Fontz[CheckCJKFont(trmsg[sidFPS],fnt16)].Handle, Str2PChar(s), cWhiteColorChannels);
             tmpSurface:= doSurfaceConversion(tmpSurface);
             FreeAndNilTexture(fpsTexture);
             fpsTexture:= Surface2Tex(tmpSurface, false);