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
path: root/source
diff options
context:
space:
mode:
authorHarley Acheson <harley.acheson@gmail.com>2019-08-30 15:53:41 +0300
committerHarley Acheson <harley.acheson@gmail.com>2019-08-30 15:54:39 +0300
commita209681beecdb66ee79cb8b663e357584ec16009 (patch)
treea0328fe3d55da5fe212d040d55d0d611da7e2cb0 /source
parentf7b47ce16ddba4593e64840999d640ae91ddb1f5 (diff)
UI: Remove Colons From Number Fields
Removes the colon separating label and number inside some number fields. Differential Revision: https://developer.blender.org/D5628 Reviewed by Brecht Van Lommel
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/interface/interface_widgets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index d16986ede8f..0fafa07a060 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -2188,7 +2188,7 @@ static void widget_draw_text(const uiFontStyle *fstyle,
drawstr_right = strrchr(drawstr + but->ofs, ':');
if (drawstr_right) {
drawstr_right++;
- drawstr_left_len = (drawstr_right - drawstr);
+ drawstr_left_len = (drawstr_right - drawstr - 1);
while (*drawstr_right == ' ') {
drawstr_right++;