Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-09-20 11:39:25 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-20 11:39:25 +0400
commit6d125e159d2c391fd92d20bd29bc5c8c33b7dcc2 (patch)
tree408d10d9a473158cf49812a0a229cb51e18ba7b7 /source/blender/editors/interface/interface_style.c
parent0e421f429ab9c6a6d041c7feb52e84826abe6c65 (diff)
i18n: code clean-up
- Move all translation-related declarations to BLF_translation.h - Reverted some changes to match trunk svn rev40365
Diffstat (limited to 'source/blender/editors/interface/interface_style.c')
-rw-r--r--source/blender/editors/interface/interface_style.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_style.c b/source/blender/editors/interface/interface_style.c
index d242da8e480..5ea20b33b3a 100644
--- a/source/blender/editors/interface/interface_style.c
+++ b/source/blender/editors/interface/interface_style.c
@@ -44,10 +44,10 @@
#include "BLI_string.h"
#include "BKE_global.h"
-#include "BKE_font.h"
#include "BLF_api.h"
+#include "BLF_translation.h"
#include "UI_interface.h"
@@ -324,7 +324,7 @@ void uiStyleInit(void)
if(font->uifont_id==UIFONT_DEFAULT) {
#ifdef INTERNATIONAL
int unifont_size;
- unsigned char *unifont_ttf= BKE_font_get_unifont(&unifont_size);
+ unsigned char *unifont_ttf= BLF_get_unifont(&unifont_size);
if(unifont_ttf)
font->blf_id= BLF_load_mem_unique("default", unifont_ttf, unifont_size);