]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Fix comment style
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 25 Nov 2017 22:35:30 +0000 (23:35 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 29 Apr 2023 19:00:17 +0000 (21:00 +0200)
dbusgen/valadbusparser.vala

index 0def2b17bf77aff94ac6f286875775cbbf1f78ea..46dc80b35edd7a7ee6713951cf78b72e36f99ac8 100644 (file)
@@ -378,7 +378,7 @@ public class Vala.DBusParser : CodeVisitor {
 
                        if (current_token == MarkupTokenType.TEXT) {
                                foreach (string line in reader.content.split ("\n")) {
-                                       comment += " * %s \n".printf (line.strip ());
+                                       comment += " * %s\n".printf (line.strip ());
                                }
                        }
 
@@ -388,7 +388,7 @@ public class Vala.DBusParser : CodeVisitor {
                }
 
                if (comment.length > 0) {
-                       comment = "*\n%s*".printf (comment);
+                       comment = "*\n%s".printf (comment);
                        Comment doc = new Comment (comment, start_loc);
                        Symbol node = current_node as Symbol;
                        if (node != null) {