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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]