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:
Diffstat (limited to 'source/blender/src')
-rw-r--r--source/blender/src/drawtext.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/src/drawtext.c b/source/blender/src/drawtext.c
index 7dd5539de15..1ea29886850 100644
--- a/source/blender/src/drawtext.c
+++ b/source/blender/src/drawtext.c
@@ -690,12 +690,10 @@ static void draw_cursor(SpaceText *st) {
if(st->showlinenrs) {
if (!x) x= TXT_OFFSET + TEXTXLOC -4;
- }
- else {
+ } else {
if (!x) x= TXT_OFFSET - 4;
}
- if (!x) x= TXT_OFFSET-10;
while (linef && linef != linel) {
h= txt_get_span(text->lines.first, linef) - st->top;
if (h>st->viewlines) break;