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>2013-12-22 07:11:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-12-22 07:12:19 +0400
commitc1c26c36f62c3bfdb40b01f33004695a09ce2f4d (patch)
tree21e738fefe0c7d77af7c1129bcdfef65e1a8f655 /source/blender/editors/uvedit/uvedit_parametrizer.c
parent5eb96d4705b93a7049ecabd0827e0e58b28a2838 (diff)
Style Cleanup: remove preprocessor indentation (updated wiki style guide too)
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_parametrizer.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_parametrizer.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index e5c3510db4b..34c44185026 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -52,24 +52,24 @@
/* Utils */
#if 0
- #define param_assert(condition)
- #define param_warning(message)
- #define param_test_equals_ptr(condition)
- #define param_test_equals_int(condition)
+# define param_assert(condition)
+# define param_warning(message)
+# define param_test_equals_ptr(condition)
+# define param_test_equals_int(condition)
#else
- #define param_assert(condition) \
+# define param_assert(condition) \
if (!(condition)) \
{ /*printf("Assertion %s:%d\n", __FILE__, __LINE__); abort();*/ } (void)0
- #define param_warning(message) \
+# define param_warning(message) \
{ /*printf("Warning %s:%d: %s\n", __FILE__, __LINE__, message);*/ } (void)0
-#if 0
- #define param_test_equals_ptr(str, a, b) \
+# if 0
+# define param_test_equals_ptr(str, a, b) \
if (a != b) \
{ /*printf("Equals %s => %p != %p\n", str, a, b);*/ } (void)0
- #define param_test_equals_int(str, a, b) \
+# define param_test_equals_int(str, a, b) \
if (a != b) \
{ /*printf("Equals %s => %d != %d\n", str, a, b);*/ } (void)0
-#endif
+# endif
#endif
typedef enum PBool {
P_TRUE = 1,