diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-18 15:41:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-18 15:43:09 +0300 |
commit | 2f6e9cb4fd9fc8fee7d9820c8634972ad1e2b2f3 (patch) | |
tree | 8052ee116848078291c495bbdeae5f9101199396 /source/blender | |
parent | a2d95b2f5a4da258afa46bcb40285a3012ecb2b5 (diff) |
Fix for console & info clipping text too early
D845 from @donfabio
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/space_info/textview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c index 33333e4c992..ebce13389c9 100644 --- a/source/blender/editors/space_info/textview.c +++ b/source/blender/editors/space_info/textview.c @@ -155,7 +155,7 @@ static int console_draw_string(ConsoleDrawContext *cdc, const char *str, int str MEM_freeN(offsets); return 1; } - else if (y_next - cdc->lheight < cdc->ymin) { + else if (y_next < cdc->ymin) { /* have not reached the drawable area so don't break */ cdc->xy[1] = y_next; |