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:
authorCampbell Barton <ideasman42@gmail.com>2007-12-13 18:06:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-12-13 18:06:02 +0300
commitf15956356c7706c93152f4267cd1cea24b2c9e30 (patch)
tree0b91608e19ce81285823ba8559cfdc118ee220e8 /source/blender/src/language.c
parent6d6f5bbc1a79c2ed2fb8ce84dd4fc23e4763d926 (diff)
misc warning fixes and one fix for a big in curve allocation
Diffstat (limited to 'source/blender/src/language.c')
-rw-r--r--source/blender/src/language.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/language.c b/source/blender/src/language.c
index c289d75f88b..5eb4bf3dc61 100644
--- a/source/blender/src/language.c
+++ b/source/blender/src/language.c
@@ -173,8 +173,8 @@ float BIF_GetStringWidth(BMF_Font* font, char *str, int translate)
}
void BIF_GetBoundingBox(struct BMF_Font* font, char* str, int translate, rctf *bbox){
- float dummy;
#ifdef INTERNATIONAL
+ float dummy;
if(G.ui_international == TRUE)
if(translate && (U.transopts & USER_TR_BUTTONS))
FTF_GetBoundingBox(str, &bbox->xmin, &bbox->ymin, &dummy, &bbox->xmax, &bbox->ymax, &dummy, FTF_USE_GETTEXT | FTF_INPUT_UTF8);