[gedit] Replace CRLF by LF endlines.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Replace CRLF by LF endlines.
- Date: Wed, 31 Mar 2010 18:56:13 +0000 (UTC)
commit 5c02208fa1b81822b7b965d787da347d5362f5c1
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Mar 31 20:54:52 2010 +0200
Replace CRLF by LF endlines.
tests/smart-converter.c | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/tests/smart-converter.c b/tests/smart-converter.c
index f9e8b9f..3150d11 100644
--- a/tests/smart-converter.c
+++ b/tests/smart-converter.c
@@ -193,22 +193,22 @@ do_test (const gchar *test_in,
return out;
}
-static void
-do_test_roundtrip (const char *str, const char *charset)
+static void
+do_test_roundtrip (const char *str, const char *charset)
{
- gsize len;
- gchar *buf, *p;
- GInputStream *in, *tmp;
+ gsize len;
+ gchar *buf, *p;
+ GInputStream *in, *tmp;
GCharsetConverter *c1;
- GeditSmartCharsetConverter *c2;
+ GeditSmartCharsetConverter *c2;
gsize n, tot;
GError *err;
- GSList *enc = NULL;
+ GSList *enc = NULL;
len = strlen(str);
buf = g_new0 (char, len);
- in = g_memory_input_stream_new_from_data (str, -1, NULL);
+ in = g_memory_input_stream_new_from_data (str, -1, NULL);
c1 = g_charset_converter_new (charset, "UTF-8", NULL);
@@ -219,7 +219,7 @@ do_test_roundtrip (const char *str, const char *charset)
enc = g_slist_prepend (enc, (gpointer)gedit_encoding_get_from_charset (charset));
c2 = gedit_smart_charset_converter_new (enc);
- g_slist_free (enc);
+ g_slist_free (enc);
tmp = in;
in = g_converter_input_stream_new (in, G_CONVERTER (c2));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]