summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c3f9aa8)
raw | patch | inline | side by side (parent: c3f9aa8)
author | Kalle Wallin <kaw@linux.se> | |
Fri, 26 Mar 2004 11:06:29 +0000 (11:06 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Fri, 26 Mar 2004 11:06:29 +0000 (11:06 +0000) |
support.c | patch | blob | history |
diff --git a/support.c b/support.c
index d7c196a9402f55d2eae09db23b69f2fa577227c8..9bf18cc47a8353546652ab3edc189c6b48cd7e22 100644 (file)
--- a/support.c
+++ b/support.c
charset_close(void)
{
#ifdef HAVE_ICONV
- if( iconv_from_uft8 == (iconv_t)(-1) )
+ if( iconv_from_uft8 != (iconv_t)(-1) )
{
iconv_close(iconv_from_uft8);
iconv_from_uft8 = (iconv_t)(-1);
}
- if( iconv_to_uft8 == (iconv_t)(-1) )
+ if( iconv_to_uft8 != (iconv_t)(-1) )
{
iconv_close(iconv_to_uft8);
iconv_to_uft8 = (iconv_t)(-1);