hedgewars/uStore.pas
changeset 13982 4355b8c4099e
parent 13900 6b2c87490f0a
child 14000 6938cab93016
--- a/hedgewars/uStore.pas	Thu Oct 25 04:55:27 2018 +0300
+++ b/hedgewars/uStore.pas	Thu Oct 25 11:37:11 2018 +0200
@@ -533,7 +533,7 @@
     // number of weapons in ammo menu
     for i:= Low(CountTexz) to High(CountTexz) do
         begin
-        tmpsurf:= TTF_RenderUTF8_Blended(Fontz[fnt16].Handle, Str2PChar(Format(shortstring(trmsg[sidAmmoCount]), IntToStr(i))), cWhiteColorChannels);
+        tmpsurf:= TTF_RenderUTF8_Blended(Fontz[CheckCJKFont(trmsg[sidAmmoCount],fnt16)].Handle, Str2PChar(Format(shortstring(trmsg[sidAmmoCount]), IntToStr(i))), cWhiteColorChannels);
         tmpsurf:= doSurfaceConversion(tmpsurf);
         FreeAndNilTexture(CountTexz[i]);
         CountTexz[i]:= Surface2Tex(tmpsurf, false);