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>2013-08-29 18:52:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-08-29 18:52:36 +0400
commit973e317461c1c4541e04a742c18ca328dd48b35a (patch)
treecfdc6c6d2ea620b7e80b242e57855150c110732f /source/blender/editors/space_text/text_ops.c
parente98ef3ae68bae2dbf05606b3baf2620500c8e132 (diff)
correct own error r59619 (changes made to patch, adding handle recalculation which is needed after splitting).
Diffstat (limited to 'source/blender/editors/space_text/text_ops.c')
-rw-r--r--source/blender/editors/space_text/text_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_text/text_ops.c b/source/blender/editors/space_text/text_ops.c
index d4ebd6f273b..410abec706b 100644
--- a/source/blender/editors/space_text/text_ops.c
+++ b/source/blender/editors/space_text/text_ops.c
@@ -2086,7 +2086,7 @@ void TEXT_OT_overwrite_toggle(wmOperatorType *ot)
static void txt_screen_clamp(SpaceText *st, ARegion *ar)
{
- if (st->top < 0) {
+ if (st->top <= 0) {
st->top = 0;
}
else {