summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/FbTk/FbString.cc3
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f79d0ae..e5f91c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0rc3: 2Changes for 1.0rc3:
3*06/07/05:
4 * Fix crash on startup on some platforms (Simon)
5 FbTk/FbString.cc
3*06/07/04: 6*06/07/04:
4 * Fix some sizing issues from gravity change patch (Simon) 7 * Fix some sizing issues from gravity change patch (Simon)
5 FbWinFrame.hh/cc Window.cc 8 FbWinFrame.hh/cc Window.cc
diff --git a/src/FbTk/FbString.cc b/src/FbTk/FbString.cc
index d3f6b81..ff4d27a 100644
--- a/src/FbTk/FbString.cc
+++ b/src/FbTk/FbString.cc
@@ -261,7 +261,8 @@ bool StringConvertor::setSource(const std::string &encoding) {
261 if (newiconv == ((iconv_t)(-1))) 261 if (newiconv == ((iconv_t)(-1)))
262 return false; 262 return false;
263 else { 263 else {
264 iconv_close(m_iconv); 264 if (m_iconv != ((iconv_t)-1))
265 iconv_close(m_iconv);
265 m_iconv = newiconv; 266 m_iconv = newiconv;
266 return true; 267 return true;
267 } 268 }