Mercurial > pidgin.yaz
comparison libpurple/protocols/oscar/encoding.c @ 31534:a8cc50c2279f
Remove trailing whitespace
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 04 Jan 2011 06:55:30 +0000 |
parents | a2e2d351f6fb |
children | fa88dc1dcabb 52801bade70e |
comparison
equal
deleted
inserted
replaced
31533:44f53d3fc54f | 31534:a8cc50c2279f |
---|---|
49 oscar_encoding_to_utf8(const char *encoding, const char *text, int textlen) | 49 oscar_encoding_to_utf8(const char *encoding, const char *text, int textlen) |
50 { | 50 { |
51 gchar *utf8 = NULL; | 51 gchar *utf8 = NULL; |
52 const gchar *glib_encoding = NULL; | 52 const gchar *glib_encoding = NULL; |
53 gchar *extracted_encoding = encoding_extract(encoding); | 53 gchar *extracted_encoding = encoding_extract(encoding); |
54 | 54 |
55 if (extracted_encoding == NULL || *extracted_encoding == '\0') { | 55 if (extracted_encoding == NULL || *extracted_encoding == '\0') { |
56 purple_debug_info("oscar", "Empty encoding, assuming UTF-8\n"); | 56 purple_debug_info("oscar", "Empty encoding, assuming UTF-8\n"); |
57 } else if (!g_ascii_strcasecmp(extracted_encoding, "iso-8859-1")) { | 57 } else if (!g_ascii_strcasecmp(extracted_encoding, "iso-8859-1")) { |
58 glib_encoding = "iso-8859-1"; | 58 glib_encoding = "iso-8859-1"; |
59 } else if (!g_ascii_strcasecmp(extracted_encoding, "ISO-8859-1-Windows-3.1-Latin-1") || !g_ascii_strcasecmp(extracted_encoding, "us-ascii")) { | 59 } else if (!g_ascii_strcasecmp(extracted_encoding, "ISO-8859-1-Windows-3.1-Latin-1") || !g_ascii_strcasecmp(extracted_encoding, "us-ascii")) { |