diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-02 20:41:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-02 20:41:14 +0400 |
commit | d298a5d0a83f958be0d7066a7cf68dad51c5fd2f (patch) | |
tree | e7cbb29d5b88d4e0344b7f91a97af7abf54480fa /source/blender/editors/space_text | |
parent | ec2c52c9c87550d2e551956e0b558e14e8264213 (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')
-rw-r--r-- | source/blender/editors/space_text/text_draw.c | 2 |
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; |