Fix CJK in tooltips.
authornemo
Mon, 22 Feb 2010 05:40:24 +0000
changeset 2841 2c9013664ea3
parent 2840 bb9117753fe4
child 2842 03d6a304a8e0
Fix CJK in tooltips.
hedgewars/uStore.pas
--- a/hedgewars/uStore.pas	Mon Feb 22 00:53:04 2010 +0000
+++ b/hedgewars/uStore.pas	Mon Feb 22 05:40:24 2010 +0000
@@ -1360,7 +1360,10 @@
 	wa, ha: LongInt;
 	tmpline, tmpline2, tmpdesc: shortstring;
 begin
-font:= fnt16;
+font:= CheckCJKFont(caption,fnt16);
+font:= CheckCJKFont(subcaption,font);
+font:= CheckCJKFont(description,font);
+font:= CheckCJKFont(extra,font);
 
 // make sure there is a caption as well as a sub caption - description is optional
 if caption = '' then caption:= '???';