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:
authorCampbell Barton <ideasman42@gmail.com>2014-11-18 15:41:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2014-11-18 15:43:09 +0300
commit2f6e9cb4fd9fc8fee7d9820c8634972ad1e2b2f3 (patch)
tree8052ee116848078291c495bbdeae5f9101199396 /source/blender/editors/space_info
parenta2d95b2f5a4da258afa46bcb40285a3012ecb2b5 (diff)
Fix for console & info clipping text too early
D845 from @donfabio
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r--source/blender/editors/space_info/textview.c2
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;