diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-09-24 20:02:56 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-09-24 20:02:56 +0400 |
commit | 8b7c690a0bbd053bc734309b1a82792cdfda8733 (patch) | |
tree | bbe1b1838b71e3b0f003fd735fc1eafdd56636e3 /source/blender/src/drawtext.c | |
parent | b3f0facfbef0bbff79ef6f160a0ac0ad8d85cf8e (diff) |
- assorted warning fixes (signedness, float->double)
- added decimate,boolean modifier copydata methods
Diffstat (limited to 'source/blender/src/drawtext.c')
-rw-r--r-- | source/blender/src/drawtext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c index 4de5cf5a048..f726b87ad71 100644 --- a/source/blender/src/drawtext.c +++ b/source/blender/src/drawtext.c @@ -747,7 +747,7 @@ static void calc_text_rcts(SpaceText *st) CLAMP(st->txtbar.ymax, 2, curarea->winy-2); st->pix_per_line= (float) ltexth/curarea->winy; - if (st->pix_per_line<.1) st->pix_per_line=.1; + if (st->pix_per_line<.1) st->pix_per_line=.1f; lbarstart= MIN2(txt_get_span(st->text->lines.first, st->text->curl), txt_get_span(st->text->lines.first, st->text->sell)); |