aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-unicode.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/misc/e-unicode.c
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.bz2
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.lz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.xz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
Diffstat (limited to 'widgets/misc/e-unicode.c')
-rw-r--r--widgets/misc/e-unicode.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c
index cdbd715871..5aec40a125 100644
--- a/widgets/misc/e-unicode.c
+++ b/widgets/misc/e-unicode.c
@@ -321,7 +321,7 @@ e_utf8_to_iconv_string_sized (iconv_t ic, const gchar *string, gint bytes)
ibl = bytes;
new = ob = g_new (char, ibl * 4 + 4);
obl = ibl * 4;
-
+
while (ibl > 0) {
e_iconv (ic, &ib, &ibl, &ob, &obl);
if (ibl > 0) {
@@ -337,16 +337,16 @@ e_utf8_to_iconv_string_sized (iconv_t ic, const gchar *string, gint bytes)
ib += len;
ibl = bytes - (ib - string);
if (ibl > bytes) ibl = 0;
-
+
/* FIXME: this is wrong... what if the destination charset is 16 or 32 bit? */
*ob++ = '_';
obl--;
}
}
-
+
/* Make sure to terminate with plenty of padding */
memset (ob, 0, 4);
-
+
return new;
}
@@ -501,7 +501,7 @@ e_utf8_gtk_entry_set_text (GtkEntry *entry, const gchar *text)
else
gtk_entry_set_text (entry, text);
}
-
+
/*
* Translate \U+XXXX\ sequences to utf8 chars
*/
@@ -591,9 +591,9 @@ e_utf8_xml1_encode (const gchar *text)
* @outbuf: output buffer, must have at least 6 bytes of space.
* If %NULL, the length will be computed and returned
* and nothing will be written to @out.
- *
+ *
* Convert a single character to utf8
- *
+ *
* Return value: number of bytes written
**/