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:
authorDalai Felinto <dfelinto@gmail.com>2018-11-27 02:54:29 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-11-27 02:54:29 +0300
commitb205cb369a8f114b5a4ff1f3d9690a0a60ffcd14 (patch)
treec246516c95dfd2a2a5ce1ca8d6318183e01067f8 /source/blender/blenkernel/intern/font.c
parent8e65e38649f4a926e3c08cb414ff4789454d0f07 (diff)
Silence warning (potentially misused twidth)
Diffstat (limited to 'source/blender/blenkernel/intern/font.c')
-rw-r--r--source/blender/blenkernel/intern/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/font.c b/source/blender/blenkernel/intern/font.c
index 9c24cc436c6..5aa0207cd88 100644
--- a/source/blender/blenkernel/intern/font.c
+++ b/source/blender/blenkernel/intern/font.c
@@ -690,7 +690,7 @@ static bool vfont_to_curve(Object *ob, Curve *cu, int mode,
struct CharTrans *chartransdata = NULL, *ct;
struct TempLineInfo *lineinfo;
float *f, xof, yof, xtrax, linedist;
- float twidth, maxlen = 0;
+ float twidth = 0, maxlen = 0;
int i, slen, j;
int curbox;
int selstart, selend;