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>2018-03-31 14:40:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-31 14:40:23 +0300
commit22d40fdfd85e52f7e2c0bfe33067bc9b74486087 (patch)
tree5fff7f42412119bfe12e88ec0b44de6e70690c04 /source/blender/blenfont/intern/blf.c
parentac4513a5b84017e5e95fc4b84e3e8444fd2c8494 (diff)
Cleanup: blf internal struct naming
- use x/y/width/height/max as a suffix. - replace 'num' prefix /w 'len' suffix.
Diffstat (limited to 'source/blender/blenfont/intern/blf.c')
-rw-r--r--source/blender/blenfont/intern/blf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf.c b/source/blender/blenfont/intern/blf.c
index b45e52f29fd..38c1498d76b 100644
--- a/source/blender/blenfont/intern/blf.c
+++ b/source/blender/blenfont/intern/blf.c
@@ -771,7 +771,7 @@ int BLF_height_max(int fontid)
FontBLF *font = blf_get(fontid);
if (font && font->glyph_cache) {
- return font->glyph_cache->max_glyph_height;
+ return font->glyph_cache->glyph_height_max;
}
return 0;
@@ -782,7 +782,7 @@ float BLF_width_max(int fontid)
FontBLF *font = blf_get(fontid);
if (font && font->glyph_cache) {
- return font->glyph_cache->max_glyph_width;
+ return font->glyph_cache->glyph_width_max;
}
return 0.0f;