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-08-02 20:41:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-02 20:41:14 +0400
commitd298a5d0a83f958be0d7066a7cf68dad51c5fd2f (patch)
treee7cbb29d5b88d4e0344b7f91a97af7abf54480fa /source/blender/editors/space_text/text_draw.c
parentec2c52c9c87550d2e551956e0b558e14e8264213 (diff)
patch [#23054] Fix for bug #22725 "text editor doent scroll with cursor"
fixes [#22725] text editor doent scroll with cursor from Justin Dailey (dail)
Diffstat (limited to 'source/blender/editors/space_text/text_draw.c')
-rw-r--r--source/blender/editors/space_text/text_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_draw.c b/source/blender/editors/space_text/text_draw.c
index fba2fe89997..ddb6e2ad876 100644
--- a/source/blender/editors/space_text/text_draw.c
+++ b/source/blender/editors/space_text/text_draw.c
@@ -1357,7 +1357,7 @@ void text_update_cursor_moved(bContext *C)
ARegion *ar;
int i, x, winx= 0;
- if(!st || !st->text || st->text->curl) return;
+ if(ELEM3(NULL, st, st->text, st->text->curl)) return;
text= st->text;