From c794506cb3b8b637ec346b4a47dea569f23a0e0e Mon Sep 17 00:00:00 2001 From: Rob Haarsma Date: Thu, 8 May 2003 20:40:57 +0000 Subject: [PATCH] aa fonts have correct colors in the toolbox now. --- source/blender/src/toolbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/src/toolbox.c b/source/blender/src/toolbox.c index 448a6bb2501..4a625e3e837 100644 --- a/source/blender/src/toolbox.c +++ b/source/blender/src/toolbox.c @@ -819,9 +819,9 @@ void tbox_drawelem_text(x, y, type) #ifdef INTERNATIONAL if(G.ui_international == TRUE) if(U.transopts & TR_MENUS) - FTF_DrawString(tbstr, FTF_USE_GETTEXT | FTF_INPUT_UTF8, 0); + FTF_DrawString(tbstr, FTF_USE_GETTEXT | FTF_INPUT_UTF8, (type==0 || type==2)?0:1); else - FTF_DrawString(tbstr, FTF_NO_TRANSCONV | FTF_INPUT_UTF8, 0); + FTF_DrawString(tbstr, FTF_NO_TRANSCONV | FTF_INPUT_UTF8, (type==0 || type==2)?0:1); else BMF_DrawString(G.font, tbstr); #else