diff options
author | Ton Roosendaal <ton@blender.org> | 2006-01-11 01:10:14 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-01-11 01:10:14 +0300 |
commit | e7285229b824f959f84efe6774c506034cf0f98e (patch) | |
tree | f4c96dae29629cc5e5b1c335d93abc82647a11c5 /source/blender/src/interface.c | |
parent | d594594cbe9c9eb3bc3c8a7708601e68693d324d (diff) | |
parent | 185c6bb49ce994d66fc67673b01a014161fa307d (diff) |
Tuesday merger of bf-blender into orange branch.
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r-- | source/blender/src/interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/interface.c b/source/blender/src/interface.c index 106286648b9..7333f1aabfa 100644 --- a/source/blender/src/interface.c +++ b/source/blender/src/interface.c @@ -1671,7 +1671,8 @@ static int ui_do_but_TEX(uiBut *but) else if(dev==MOUSEY) val= 0; if(ascii) { - if(len <= but->max) { + + if(len-SELWIDTH+1 <= but->max) { /* type over the current selection */ if (SELWIDTH > 0) { |