diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-11 14:27:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-11 14:27:13 +0400 |
commit | dde5e5ce2581ffd544b442c58d6eefbc1ff61772 (patch) | |
tree | af78298120e7318acd89370aaddedb5ba24b7c26 /source/blender/blenkernel/intern/unit.c | |
parent | 7d2652ad7c8ad1b1851db2b148e17e0410b1c334 (diff) |
User Interface: Align number buttons labels to the left, number right
Diffstat (limited to 'source/blender/blenkernel/intern/unit.c')
-rw-r--r-- | source/blender/blenkernel/intern/unit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/unit.c b/source/blender/blenkernel/intern/unit.c index 8e92f86502e..17aad7a5a2c 100644 --- a/source/blender/blenkernel/intern/unit.c +++ b/source/blender/blenkernel/intern/unit.c @@ -392,7 +392,7 @@ static int unit_as_string(char *str, int len_max, double value, int prec, bUnitC while (unit->name_short[j] && (i < len_max)) { str[i++] = unit->name_short[j++]; } - +#if 0 if (pad) { /* this loop only runs if so many zeros were removed that * the unit name only used padded chars, @@ -402,6 +402,7 @@ static int unit_as_string(char *str, int len_max, double value, int prec, bUnitC str[i++] = pad; } } +#endif } /* terminate no matter whats done with padding above */ |