aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_iconv.c
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-09-29 04:48:22 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2006-09-29 04:48:22 +0000
commit4a791ebe744d1a6048ee98291b2443f527d492aa (patch)
tree889653c370536441f2d69568e420715f3ce1202b /plugin_iconv.c
parente4d5d4702d8859b69119f8dfb6e06827d9992da0 (diff)
downloadlcd4linux-4a791ebe744d1a6048ee98291b2443f527d492aa.tar.gz
[lcd4linux @ 2006-09-29 04:48:21 by reinelt]
image widget uses properties now; new property 'reload' git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@722 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'plugin_iconv.c')
-rw-r--r--plugin_iconv.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugin_iconv.c b/plugin_iconv.c
index b55e562..2eaac6e 100644
--- a/plugin_iconv.c
+++ b/plugin_iconv.c
@@ -1,4 +1,4 @@
-/* $Id: plugin_iconv.c,v 1.2 2006/09/15 19:06:47 entropy Exp $
+/* $Id: plugin_iconv.c,v 1.3 2006/09/29 04:48:22 reinelt Exp $
*
* iconv charset conversion plugin
*
@@ -23,6 +23,9 @@
*
*
* $Log: plugin_iconv.c,v $
+ * Revision 1.3 2006/09/29 04:48:22 reinelt
+ * image widget uses properties now; new property 'reload'
+ *
* Revision 1.2 2006/09/15 19:06:47 entropy
* debug spam reduced, comment typo fixed
*
@@ -61,7 +64,7 @@
/* iconv function, convert charsets */
/* valid "to" and "from" charsets can be listed by running "iconv --list" from a shell */
-/* utf16 & utf32 encodings won't work, as they contain null bytes, confusing strlen */
+/* utf16 & utf32 encodings won't work, as they contain null bytes, confusing strlen */
static void my_iconv(RESULT * result, RESULT * charset_from, RESULT * charset_to, RESULT * arg)
{
char *source;
@@ -86,7 +89,7 @@ static void my_iconv(RESULT * result, RESULT * charset_from, RESULT * charset_to
if (cd != (iconv_t) (-1)) {
do {
-
+
/* quite spammy: debug("plugin_iconv: calling iconv with %ld,[%s]/%ld,%ld", cd, source, source_left, dest_left); */
if (iconv(cd, &source, &source_left, &dest_pos, &dest_left) == (size_t) (-1)) {
switch (errno) {