summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2014-04-11 19:44:42 +0200
committerChristian Persch <chpe@gnome.org>2014-04-11 19:44:42 +0200
commit56ea5810759b9943a4203f9382919f058a66f224 (patch)
tree9cc8e11faba0d44ef7f24b0826ca36e3472ce452
parenta71e0eb84d1b88f764d13b5bb38e3faaded672d2 (diff)
downloadvte-56ea5810759b9943a4203f9382919f058a66f224.tar.gz
all: Fix comment style
-rw-r--r--src/vte.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/vte.c b/src/vte.c
index cb15f939..3dd8d22d 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);