Skip to content

Commit

Permalink
2006-01-23 Samuel Thibault <[email protected]>
Browse files Browse the repository at this point in the history
	* input.c (input_create): Fix arguments order of iconv_open()
	call.
  • Loading branch information
Marcus Brinkmann committed Jan 23, 2006
1 parent f470a3b commit bb29133
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions console/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2006-01-23 Samuel Thibault <[email protected]>

* input.c (input_create): Fix arguments order of iconv_open()
call.

2005-01-19 Marco Gerards <[email protected]>

* README.UTF8: New file.
Expand Down
2 changes: 1 addition & 1 deletion console/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bb29133

Please sign in to comment.