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-05-04 01:35:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-04 01:35:04 +0400
commit5da2135eef39ac042a8c4babcac7be375e6903d2 (patch)
tree520282b4cae162503de17481cfbfbe43a93ed073 /source/blender/makesdna
parentb075765edd9e8f18b088faf1a55358d0f8a289cd (diff)
code cleanup: double promotion & some style cleanup
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_ID.h6
-rw-r--r--source/blender/makesdna/DNA_image_types.h5
2 files changed, 4 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index 1737f3b79e6..06eefc36723 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -133,9 +133,8 @@ typedef struct Library {
* some cases its useful to access the absolute one,
* This is set on file read.
* Use BKE_library_filepath_set() rather than
- * setting 'name' directly and it will be kepk in
+ * setting 'name' directly and it will be kept in
* sync - campbell */
- int tot, pad; /* tot, idblock and filedata are only fo read and write */
struct Library *parent; /* set for indirectly linked libs, used in the outliner and while reading */
} Library;
@@ -151,7 +150,7 @@ typedef struct PreviewImage {
unsigned int h[2];
short changed[2];
short changed_timestamp[2];
- unsigned int * rect[2];
+ unsigned int *rect[2];
} PreviewImage;
/**
@@ -255,4 +254,3 @@ typedef struct PreviewImage {
#endif
#endif
-
diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h
index de2c9919df0..dfc70e5bd66 100644
--- a/source/blender/makesdna/DNA_image_types.h
+++ b/source/blender/makesdna/DNA_image_types.h
@@ -92,8 +92,8 @@ typedef struct Image {
unsigned int bindcode; /* only for current image... */
unsigned int *repbind; /* for repeat of parts of images */
- struct PackedFile * packedfile;
- struct PreviewImage * preview;
+ struct PackedFile *packedfile;
+ struct PreviewImage *preview;
/* game engine tile animation */
float lastupdate;
@@ -141,4 +141,3 @@ typedef struct Image {
#define IMA_GEN_FLOAT 1
#endif
-