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-12-26 13:18:38 +0300
committerTon Roosendaal <ton@blender.org>2006-12-26 13:18:38 +0300
commitd1091296636726149309d59a5d29e24cfd343631 (patch)
tree9f7452b5f75c4a8e9fbde399a2c42571f560d4cd /source/blender/include/interface.h
parente4511c805fa3cdebb33f321963fcdb46cc0c4aea (diff)
Bugfix #5498
Textbutton: SHIFT+Arrow selections did not work proper when the amount of text in a button was more than its width could display. Now still doesn't work OK 100% (when selection itself goes outside of button view). Also: removed the very bad SELWIDTH define (but->selend - but->selsta). That's not making readable code!
Diffstat (limited to 'source/blender/include/interface.h')
-rw-r--r--source/blender/include/interface.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/include/interface.h b/source/blender/include/interface.h
index f2f6aad855d..d7be02c6fc5 100644
--- a/source/blender/include/interface.h
+++ b/source/blender/include/interface.h
@@ -71,7 +71,6 @@
* extension direction, selextend, inside ui_do_but_TEX */
#define EXTEND_LEFT 1
#define EXTEND_RIGHT 2
-#define SELWIDTH (but->selend - but->selsta)
typedef struct {
short xim, yim;