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_console
parent5e6c0bcded19bfbbe08ea1fcbaee85176b385b0c (diff)
console text underscore would draw outside the view for larger font sizes.
Diffstat (limited to 'source/blender/editors/space_console')
-rw-r--r--source/blender/editors/space_console/console_draw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_console/console_draw.c b/source/blender/editors/space_console/console_draw.c
index 5a9c3249abc..6d7eb45f31e 100644
--- a/source/blender/editors/space_console/console_draw.c
+++ b/source/blender/editors/space_console/console_draw.c
@@ -154,6 +154,7 @@ static int console_textview_line_color(struct TextViewContext *tvc, unsigned cha
int prompt_len= strlen(sc->prompt);
int xy[2] = {CONSOLE_DRAW_MARGIN, CONSOLE_DRAW_MARGIN};
const int cursor = ((ConsoleLine *)sc->history.last)->cursor;
+ xy[1] += tvc->lheight/6;
/* cursor */
UI_GetThemeColor3ubv(TH_CONSOLE_CURSOR, (char *)fg);