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>2019-01-03 07:52:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-03 07:52:07 +0300
commit9200dc0eb149260d52f34333b74459ed0e389a80 (patch)
treea070bdfb9289503f408cb102739ad52f512b1aea /source/blender/imbuf
parentb01f2607a6717deafc96c07287202ab11c118737 (diff)
Cleanup: preprocessor indentation
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r--source/blender/imbuf/intern/anim_movie.c4
-rw-r--r--source/blender/imbuf/intern/jp2.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/anim_movie.c b/source/blender/imbuf/intern/anim_movie.c
index 89ae32ee2b3..7f33a95953b 100644
--- a/source/blender/imbuf/intern/anim_movie.c
+++ b/source/blender/imbuf/intern/anim_movie.c
@@ -114,9 +114,9 @@ static void free_anim_movie(struct anim *UNUSED(anim))
#if defined(_WIN32)
-# define PATHSEPARATOR '\\'
+# define PATHSEPARATOR '\\'
#else
-# define PATHSEPARATOR '/'
+# define PATHSEPARATOR '/'
#endif
static int an_stringdec(const char *string, char *head, char *tail, unsigned short *numlen)
diff --git a/source/blender/imbuf/intern/jp2.c b/source/blender/imbuf/intern/jp2.c
index caf2634bac7..de74a321504 100644
--- a/source/blender/imbuf/intern/jp2.c
+++ b/source/blender/imbuf/intern/jp2.c
@@ -119,21 +119,21 @@ static void info_callback(const char *msg, void *client_data)
}
#endif
-# define PIXEL_LOOPER_BEGIN(_rect) \
+#define PIXEL_LOOPER_BEGIN(_rect) \
for (y = h - 1; y != (unsigned int)(-1); y--) { \
for (i = y * w, i_next = (y + 1) * w; \
i < i_next; \
i++, _rect += 4) \
{ \
-# define PIXEL_LOOPER_BEGIN_CHANNELS(_rect, _channels) \
+#define PIXEL_LOOPER_BEGIN_CHANNELS(_rect, _channels) \
for (y = h - 1; y != (unsigned int)(-1); y--) { \
for (i = y * w, i_next = (y + 1) * w; \
i < i_next; \
i++, _rect += _channels) \
{ \
-# define PIXEL_LOOPER_END \
+#define PIXEL_LOOPER_END \
} \
} (void)0 \