[vte/wip/html: 425/425] all: Fix comment style
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/wip/html: 425/425] all: Fix comment style
- Date: Fri, 11 Apr 2014 17:50:02 +0000 (UTC)
commit 56ea5810759b9943a4203f9382919f058a66f224
Author: Christian Persch <chpe gnome org>
Date: Fri Apr 11 19:44:42 2014 +0200
all: Fix comment style
src/vte.c | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index cb15f93..3dd8d22 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -6306,7 +6306,7 @@ vte_terminal_cellattr_to_html(VteTerminal *terminal, const VteCellAttr *attr, co
g_string_prepend(string, "<blink>");
g_string_append(string, "</blink>");
}
- // reverse and invisible are not supported
+ /* reverse and invisible are not supported */
return g_string_free(string, FALSE);
}
@@ -6349,13 +6349,15 @@ vte_terminal_attributes_to_html(VteTerminal *terminal, const gchar *text, GArray
g_assert(strlen(text) == attrs->len);
- // Initial size fits perfectly if the text has no attributes and no
- // characters that need to be escaped
+ /* Initial size fits perfectly if the text has no attributes and no
+ * characters that need to be escaped
+ */
string = g_string_sized_new (strlen(text) + 11);
g_string_append(string, "<pre>");
- // Find streches with equal attributes. Newlines are treated specially,
- // so that the <span> do not cover multiple lines.
+ /* Find streches with equal attributes. Newlines are treated specially,
+ * so that the <span> do not cover multiple lines.
+ */
from = to = 0;
while (text[from] != '\0') {
g_assert(from == to);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]