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>2010-11-27 03:56:18 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-27 03:56:18 +0300
commit4a804855b26bd764b7752e673052c0001dce32a1 (patch)
tree1c8426865bdcbc3435c7047afe31b5278499499e /source/blender/editors/space_info
parent5e6c0bcded19bfbbe08ea1fcbaee85176b385b0c (diff)
console text underscore would draw outside the view for larger font sizes.
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 343130d96ce..0cdace3039c 100644
--- a/source/blender/editors/space_info/textview.c
+++ b/source/blender/editors/space_info/textview.c
@@ -217,7 +217,7 @@ int textview_draw(TextViewContext *tvc, int draw, int mval[2], void **mouse_pick
{
ConsoleDrawContext cdc= {0};
- int x_orig=CONSOLE_DRAW_MARGIN, y_orig=CONSOLE_DRAW_MARGIN;
+ int x_orig=CONSOLE_DRAW_MARGIN, y_orig=CONSOLE_DRAW_MARGIN + tvc->lheight/6;
int xy[2], y_prev;
int sel[2]= {-1, -1}; /* defaults disabled */
unsigned char fg[3], bg[3];