diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2018-11-27 02:54:29 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2018-11-27 02:54:29 +0300 |
commit | b205cb369a8f114b5a4ff1f3d9690a0a60ffcd14 (patch) | |
tree | c246516c95dfd2a2a5ce1ca8d6318183e01067f8 /source/blender | |
parent | 8e65e38649f4a926e3c08cb414ff4789454d0f07 (diff) |
Silence warning (potentially misused twidth)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/font.c | 2 |
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; |