[Spice-devel] [PATCH 2/6] style: fix condition indentation example

Frediano Ziglio fziglio at redhat.com
Wed May 11 09:43:00 UTC 2016


Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
 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 e4328fc..80f5ad0 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 <<function_indentation, Function Indentation>> section.
-- 
2.7.4



More information about the Spice-devel mailing list