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>2012-10-31 15:45:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-31 15:45:41 +0400
commitdb8b7fcabbb1a5af77038e5423b4ecbadbdefeda (patch)
tree989e09f13458cef22c35c33a658674a9c5cd2cc4 /source/blender
parent3406586d8829c60a420b26977e160ab53b26a833 (diff)
style cleanup and correct own invalid comment.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/customdata.c7
-rw-r--r--source/blender/blenloader/intern/readfile.c4
-rw-r--r--source/blender/editors/interface/interface_regions.c4
3 files changed, 6 insertions, 9 deletions
diff --git a/source/blender/blenkernel/intern/customdata.c b/source/blender/blenkernel/intern/customdata.c
index 76ed8467c8f..93c776ae30e 100644
--- a/source/blender/blenkernel/intern/customdata.c
+++ b/source/blender/blenkernel/intern/customdata.c
@@ -75,12 +75,9 @@ BLI_STATIC_ASSERT(sizeof(((CustomData *)NULL)->typemap) /
typedef struct LayerTypeInfo {
int size; /* the memory size of one element of this layer's data */
- /**
- * name of the struct used, for file writing */
+ /** name of the struct used, for file writing */
const char *structname;
- /**
- * number of structs per element, for file writing
- * (set to zero skips writing this data to disk/undo) */
+ /** number of structs per element, for file writing */
int structnum;
/**
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index b49e392d1f4..8aa879a354b 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -7144,8 +7144,8 @@ static void do_version_logic_264(ListBase *regionbase)
/* view settings for logic changed */
for (ar = regionbase->first; ar; ar = ar->next) {
- if(ar->regiontype == RGN_TYPE_WINDOW) {
- if (ar->v2d.keeptot==0) {
+ if (ar->regiontype == RGN_TYPE_WINDOW) {
+ if (ar->v2d.keeptot == 0) {
ar->v2d.maxzoom = 1.5f;
ar->v2d.keepzoom = V2D_KEEPZOOM | V2D_LIMITZOOM | V2D_KEEPASPECT;
diff --git a/source/blender/editors/interface/interface_regions.c b/source/blender/editors/interface/interface_regions.c
index c0a8f6582f6..578619abe1a 100644
--- a/source/blender/editors/interface/interface_regions.c
+++ b/source/blender/editors/interface/interface_regions.c
@@ -1593,11 +1593,11 @@ void ui_popup_block_scrolltest(uiBlock *block)
/* mark buttons overlapping arrows, if we have them */
for (bt = block->buttons.first; bt; bt = bt->next) {
- if(block->flag & UI_BLOCK_CLIPBOTTOM) {
+ if (block->flag & UI_BLOCK_CLIPBOTTOM) {
if (bt->rect.ymin < block->rect.ymin + 12)
bt->flag |= UI_SCROLLED;
}
- if(block->flag & UI_BLOCK_CLIPTOP) {
+ if (block->flag & UI_BLOCK_CLIPTOP) {
if (bt->rect.ymax > block->rect.ymax - 12)
bt->flag |= UI_SCROLLED;
}