From 1645a6506677e428d29d2dc5a2fda67c2f7d534f Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 30 Mar 2016 17:32:45 -0400 Subject: [PATCH] templates: fix generated indentation Signed-off-by: Philippe Proulx --- barectf/templates.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/barectf/templates.py b/barectf/templates.py index b338f9b..b4d901f 100644 --- a/barectf/templates.py +++ b/barectf/templates.py @@ -264,8 +264,8 @@ _C_SRC = '''/* #include "{header_filename}" -#define _ALIGN(_at, _align) \\ - do {{ \\ +#define _ALIGN(_at, _align) \\ + do {{ \\ (_at) = ((_at) + ((_align) - 1)) & -(_align); \\ }} while (0) -- 2.34.1