From 586a07a2d3ba5a6aa7df159a3ae97683c12448f2 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Wed, 11 May 2016 10:28:52 +0100 Subject: [PATCH] style: fix condition indentation example Signed-off-by: Frediano Ziglio Acked-by: Pavel Grunt --- docs/spice_style.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/spice_style.txt b/docs/spice_style.txt index e4328fcf..80f5ad0f 100644 --- a/docs/spice_style.txt +++ b/docs/spice_style.txt @@ -214,12 +214,12 @@ if (long_name && very_long_name && very_long || var_name) { ---- + -or indent using two tabs +or indent under the round bracket using spaces + [source,c] ---- if (long_name && very_long_name && long_name || - var_name) { + var_name) { ---- + Break function arguments list in long condition statement according to <> section.