Commit: 9f3facbc12f933a8cb1c93e8a7809a26d8a386dd
Author: Campbell Barton
Date:   Wed Jun 8 16:31:40 2016 +1000
Branches: compositor-2016
https://developer.blender.org/rB9f3facbc12f933a8cb1c93e8a7809a26d8a386dd

Correct assert

===================================================================

M       source/blender/blenkernel/intern/font.c

===================================================================

diff --git a/source/blender/blenkernel/intern/font.c 
b/source/blender/blenkernel/intern/font.c
index aed33d2..9875740 100644
--- a/source/blender/blenkernel/intern/font.c
+++ b/source/blender/blenkernel/intern/font.c
@@ -541,7 +541,7 @@ int BKE_vfont_select_get(Object *ob, int *r_start, int 
*r_end)
 
        BLI_assert(ef->len >= 0);
        BLI_assert(ef->selstart >= 0 && ef->selstart <= ef->len + 1);
-       BLI_assert(ef->selend   >= 0 && ef->selend   <= ef->len);
+       BLI_assert(ef->selend   >= 0 && ef->selend   <= ef->len + 1);
        BLI_assert(ef->pos      >= 0 && ef->pos      <= ef->len);
 
        if (ef->selstart == 0) {

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to