Fix for console & info clipping text too early
authorCampbell Barton <ideasman42@gmail.com>
Tue, 18 Nov 2014 12:41:40 +0000 (13:41 +0100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 18 Nov 2014 12:43:09 +0000 (13:43 +0100)
D845 from @donfabio

source/blender/editors/space_info/textview.c

index 33333e4c99266e3a5fd1f770ee58867b54a45e52..ebce13389c91871939fcc49afaf4f93f72a669de 100644 (file)
@@ -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;