[vala/wip/dbusgen: 390/403] Fix comment style
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/wip/dbusgen: 390/403] Fix comment style
- Date: Wed, 18 Aug 2021 13:04:45 +0000 (UTC)
commit 2c4d3451a59abf97b3106aa8b8ad63e571d3fc44
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Sat Nov 25 23:35:30 2017 +0100
Fix comment style
dbusgen/valadbusparser.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/dbusgen/valadbusparser.vala b/dbusgen/valadbusparser.vala
index 0def2b17b..46dc80b35 100644
--- a/dbusgen/valadbusparser.vala
+++ b/dbusgen/valadbusparser.vala
@@ -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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]