summaryrefslogtreecommitdiff
path: root/console
diff options
context:
space:
mode:
Diffstat (limited to 'console')
-rw-r--r--console/ChangeLog5
-rw-r--r--console/input.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/console/ChangeLog b/console/ChangeLog
index 953bda16..a67022b2 100644
--- a/console/ChangeLog
+++ b/console/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * input.c (input_create): Fix arguments order of iconv_open()
+ call.
+
2005-01-19 Marco Gerards <metgerards@student.han.nl>
* README.UTF8: New file.
diff --git a/console/input.c b/console/input.c
index 29e93c76..14879d07 100644
--- a/console/input.c
+++ b/console/input.c
@@ -62,7 +62,7 @@ error_t input_create (input_t *r_input, const char *encoding)
condition_init (&input->data_available);
condition_init (&input->space_available);
- input->cd = iconv_open ("UTF-8", encoding);
+ input->cd = iconv_open (encoding, "UTF-8");
if (input->cd == (iconv_t) -1)
{
free (input);