aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbString.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/FbString.hh')
-rw-r--r--src/FbTk/FbString.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/FbString.hh b/src/FbTk/FbString.hh
index 21185f4..1e473cc 100644
--- a/src/FbTk/FbString.hh
+++ b/src/FbTk/FbString.hh
@@ -67,6 +67,8 @@ public:
67 bool setSource(const std::string &encoding); 67 bool setSource(const std::string &encoding);
68 void reset() { 68 void reset() {
69#ifdef HAVE_ICONV 69#ifdef HAVE_ICONV
70 if (m_iconv != ((iconv_t)-1))
71 iconv_close(m_iconv);
70 m_iconv = ((iconv_t)(-1)); 72 m_iconv = ((iconv_t)(-1));
71#endif 73#endif
72 } 74 }