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>2013-03-13 01:46:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-13 01:46:33 +0400
commit153b63e0fde21730cd54f16a501c18c793256ae2 (patch)
treef6c0939d5f48685783996d82e31002845f4cdae6 /source/blender/blenfont
parente6cdee370e74ef3e48051ad95a4bc3eba5f804c4 (diff)
style cleanup
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/intern/blf_translation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenfont/intern/blf_translation.c b/source/blender/blenfont/intern/blf_translation.c
index 236ea89a584..2483c59d3ec 100644
--- a/source/blender/blenfont/intern/blf_translation.c
+++ b/source/blender/blenfont/intern/blf_translation.c
@@ -93,14 +93,14 @@ void BLF_free_unifont(void)
unsigned char *BLF_get_unifont_mono(int *unifont_size_r)
{
#ifdef WITH_INTERNATIONAL
- if(unifont_mono_ttf == NULL) {
+ if (unifont_mono_ttf == NULL) {
const char *fontpath = BLI_get_folder(BLENDER_DATAFILES, "fonts");
if (fontpath) {
char unifont_path[1024];
BLI_snprintf(unifont_path, sizeof(unifont_path), "%s/%s", fontpath, unifont_mono_filename);
- unifont_mono_ttf = (unsigned char*)BLI_file_ungzip_to_mem(unifont_path, &unifont_mono_size);
+ unifont_mono_ttf = (unsigned char *)BLI_file_ungzip_to_mem(unifont_path, &unifont_mono_size);
}
else {
printf("%s: 'fonts' data path not found for international monospace font, continuing\n", __func__);
@@ -119,7 +119,7 @@ unsigned char *BLF_get_unifont_mono(int *unifont_size_r)
void BLF_free_unifont_mono(void)
{
#ifdef WITH_INTERNATIONAL
- if(unifont_mono_ttf)
+ if (unifont_mono_ttf)
MEM_freeN(unifont_mono_ttf);
#else
#endif