summaryrefslogtreecommitdiff
path: root/ccode/valaccodeconditionalexpression.vala
diff options
context:
space:
mode:
Diffstat (limited to 'ccode/valaccodeconditionalexpression.vala')
-rw-r--r--ccode/valaccodeconditionalexpression.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/ccode/valaccodeconditionalexpression.vala b/ccode/valaccodeconditionalexpression.vala
index b894928d7..24e5f9e74 100644
--- a/ccode/valaccodeconditionalexpression.vala
+++ b/ccode/valaccodeconditionalexpression.vala
@@ -30,23 +30,23 @@ public class Vala.CCodeConditionalExpression : CCodeExpression {
* The condition.
*/
public CCodeExpression condition { get; set; }
-
+
/**
* The expression to be evaluated if the condition holds.
*/
public CCodeExpression true_expression { get; set; }
-
+
/**
* The expression to be evaluated if the condition doesn't hold.
*/
public CCodeExpression false_expression { get; set; }
-
+
public CCodeConditionalExpression (CCodeExpression cond, CCodeExpression true_expr, CCodeExpression false_expr) {
condition = cond;
true_expression = true_expr;
false_expression = false_expr;
}
-
+
public override void write (CCodeWriter writer) {
condition.write_inner (writer);
writer.write_string (" ? ");