scripts/uncrustify: Use 2-spaces indentation for defines too

This commit is contained in:
Marco Trevisan (Treviño)
2025-02-18 20:56:03 +01:00
committed by Marco Trevisan
parent 4dd51f38c7
commit ee73d67765
10 changed files with 90 additions and 81 deletions

View File

@@ -79,13 +79,16 @@
*
* Uses fp_err() to print an error if the @condition is true.
*/
#define BUG_ON(condition) G_STMT_START \
if (condition) { \
char *s; \
s = g_strconcat ("BUG: (", #condition, ")", NULL); \
fp_err ("%s: %s() %s:%d", s, G_STRFUNC, __FILE__, __LINE__); \
g_free (s); \
} G_STMT_END
#define BUG_ON(condition) \
G_STMT_START \
if (condition) \
{ \
char *s; \
s = g_strconcat ("BUG: (", #condition, ")", NULL); \
fp_err ("%s: %s() %s:%d", s, G_STRFUNC, __FILE__, __LINE__); \
g_free (s); \
} \
G_STMT_END
/**
* BUG: