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:
authorTon Roosendaal <ton@blender.org>2006-01-11 01:10:14 +0300
committerTon Roosendaal <ton@blender.org>2006-01-11 01:10:14 +0300
commite7285229b824f959f84efe6774c506034cf0f98e (patch)
treef4c96dae29629cc5e5b1c335d93abc82647a11c5 /source/blender/src/interface.c
parentd594594cbe9c9eb3bc3c8a7708601e68693d324d (diff)
parent185c6bb49ce994d66fc67673b01a014161fa307d (diff)
Tuesday merger of bf-blender into orange branch.
Diffstat (limited to 'source/blender/src/interface.c')
-rw-r--r--source/blender/src/interface.c3
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) {