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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-26 18:44:27 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-01-26 18:44:27 +0300
commitdcf54b9b669015b527579844fdb19a053b04c96e (patch)
tree817ee16553c514ee376004a5a8b3821cf005e007 /source/blender/editors/interface/interface.c
parentbffad18da870190e56f1dca76e20aba42cebbfdf (diff)
Fix for missing space between colon and number in sliders buttons.
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 9e76ebe3c64..baa56dd8056 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -2333,7 +2333,7 @@ static uiBut *ui_def_but(uiBlock *block, int type, int retval, char *str, short
but->pos= -1; /* cursor invisible */
- if(ELEM(but->type, NUM, NUMABS)) { /* add a space to name */
+ if(ELEM4(but->type, NUM, NUMABS, NUMSLI, HSVSLI)) { /* add a space to name */
slen= strlen(but->str);
if(slen>0 && slen<UI_MAX_NAME_STR-2) {
if(but->str[slen-1]!=' ') {