mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-11 16:55:33 +00:00
style: fix condition indentation example
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
a3871e62a7
commit
586a07a2d3
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user