[vala/staging] ccode: Don't write trailing space in function declarations/definitions



commit 3414dc69ea8180e1fe26f21ef610a22050b4f7ba
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Jan 8 17:03:14 2018 +0100

    ccode: Don't write trailing space in function declarations/definitions
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688447

 ccode/valaccodefunction.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ccode/valaccodefunction.vala b/ccode/valaccodefunction.vala
index 8ef10bb..2458d9c 100644
--- a/ccode/valaccodefunction.vala
+++ b/ccode/valaccodefunction.vala
@@ -133,7 +133,7 @@ public class Vala.CCodeFunction : CCodeNode {
                int args_index = -1;
                foreach (CCodeParameter param in parameters) {
                        if (i > 0) {
-                               writer.write_string (", ");
+                               writer.write_string (",");
                                writer.write_newline ();
                                writer.write_nspaces (param_pos_begin);
                        }


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