[gnome-software] trivial: Whitespace fixups in old code
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Whitespace fixups in old code
- Date: Thu, 16 Jan 2014 11:38:53 +0000 (UTC)
commit 6563c0ced5b3a57473f9043624f2b66ffafe4d94
Author: Richard Hughes <richard hughsie com>
Date: Thu Jan 16 11:21:13 2014 +0000
trivial: Whitespace fixups in old code
src/gs-markdown.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-markdown.c b/src/gs-markdown.c
index 3867335..b44704e 100644
--- a/src/gs-markdown.c
+++ b/src/gs-markdown.c
@@ -405,7 +405,7 @@ gs_markdown_to_text_line_format (GsMarkdown *self, const gchar *line)
/* we want to parse the code sections without formatting */
codes = g_strsplit (line, "`", -1);
string = g_string_new ("");
- for (i=0; codes[i] != NULL; i++) {
+ for (i = 0; codes[i] != NULL; i++) {
if (!mode) {
text = gs_markdown_to_text_line_format_sections (self, codes[i]);
g_string_append (string, text);
@@ -548,7 +548,7 @@ gs_markdown_word_auto_format_code (const gchar *text)
words = g_strsplit (text, " ", -1);
/* search each word */
- for (i=0; words[i] != NULL; i++) {
+ for (i = 0; words[i] != NULL; i++) {
if (gs_markdown_word_is_code (words[i])) {
temp = g_strdup_printf ("`%s`", words[i]);
g_free (words[i]);
@@ -600,7 +600,7 @@ gs_markdown_word_auto_format_urls (const gchar *text)
words = g_strsplit (text, " ", -1);
/* search each word */
- for (i=0; words[i] != NULL; i++) {
+ for (i = 0; words[i] != NULL; i++) {
if (gs_markdown_word_is_url (words[i])) {
temp = g_strdup_printf ("<a href=\"%s\">%s</a>",
words[i], words[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]