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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-12-23 23:58:59 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-12-24 00:03:43 +0300
commit1158b9f73a3d9903657a95736897f570c2cb46ad (patch)
tree10bd8fb725f76989e82113517212febbce7fbc72 /source/blender/blenfont/intern/blf_glyph.c
parent064cbe9f3fe07e65b3f74ef7fd034e0e62934ace (diff)
Cleanup: First batch of UI messages fixes (typos, final points...).
Also contains some code typo fixes (mostly, adtaptative -> adaptive, former is nearly innexistant in English, let's stick to simple valid words ;) ).
Diffstat (limited to 'source/blender/blenfont/intern/blf_glyph.c')
-rw-r--r--source/blender/blenfont/intern/blf_glyph.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf_glyph.c b/source/blender/blenfont/intern/blf_glyph.c
index 2679deea254..8fcba1fc2af 100644
--- a/source/blender/blenfont/intern/blf_glyph.c
+++ b/source/blender/blenfont/intern/blf_glyph.c
@@ -413,7 +413,7 @@ static void blf_texture5_draw(const unsigned char color_in[4], int tex_w, int te
float ofs[2] = { 2 / (float)tex_w, 2 / (float)tex_h };
float uv_flag[2][2];
copy_v4_v4((float *)uv_flag, (float *)uv);
- /* flag the x and y component signs for 5x5 bluring */
+ /* flag the x and y component signs for 5x5 blurring */
uv_flag[0][0] = -(uv_flag[0][0] - ofs[0]);
uv_flag[0][1] = -(uv_flag[0][1] - ofs[1]);
uv_flag[1][0] = -(uv_flag[1][0] + ofs[0]);
@@ -428,7 +428,7 @@ static void blf_texture3_draw(const unsigned char color_in[4], int tex_w, int te
float ofs[2] = { 1 / (float)tex_w, 1 / (float)tex_h };
float uv_flag[2][2];
copy_v4_v4((float *)uv_flag, (float *)uv);
- /* flag the x component sign for 3x3 bluring */
+ /* flag the x component sign for 3x3 blurring */
uv_flag[0][0] = -(uv_flag[0][0] - ofs[0]);
uv_flag[0][1] = (uv_flag[0][1] - ofs[1]);
uv_flag[1][0] = -(uv_flag[1][0] + ofs[0]);