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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-20 16:05:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-20 19:01:33 +0400
commit1a1bc281e64624d1a6b798f8dd84dda134f0f45a (patch)
treeeee93db6a2ef858664bf870fd0ab88b8a0170d9e /source/blender/editors/interface/interface.c
parent1e3f8b517be22700498d0243e004026bd3bebec4 (diff)
Code cleanup: style
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 691c5104cc1..2cf2a46529e 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -1900,7 +1900,7 @@ static void ui_get_but_string_unit(uiBut *but, char *str, int len_max, double va
/* Sanity checks */
precision = (int)but->a2;
if (precision > UI_PRECISION_FLOAT_MAX) precision = UI_PRECISION_FLOAT_MAX;
- else if (precision == -1) precision = 2;
+ else if (precision == -1) precision = 2;
}
else {
precision = float_precision;
@@ -3116,7 +3116,7 @@ static void ui_def_but_rna__menu(bContext *UNUSED(C), uiLayout *layout, void *bu
column_end = totitems;
for (b = a + 1; b < totitems; b++) {
- item = &item_array[ b];
+ item = &item_array[b];
/* new column on N rows or on separation label */
if (((b - a) % rows == 0) || (!item->identifier[0] && item->name)) {