diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/FbString.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/FbString.cc b/src/FbTk/FbString.cc index fd34693..5295a66 100644 --- a/src/FbTk/FbString.cc +++ b/src/FbTk/FbString.cc | |||
@@ -150,6 +150,7 @@ enum ConvType { FB2X = 0, X2FB, LOCALE2FB, FB2LOCALE, CONVSIZE }; | |||
150 | #ifdef HAVE_ICONV | 150 | #ifdef HAVE_ICONV |
151 | static iconv_t *iconv_convs = 0; | 151 | static iconv_t *iconv_convs = 0; |
152 | #else | 152 | #else |
153 | typedef int iconv_t; | ||
153 | static int iconv_convs[CONVSIZE]; | 154 | static int iconv_convs[CONVSIZE]; |
154 | #endif // HAVE_ICONV | 155 | #endif // HAVE_ICONV |
155 | 156 | ||
@@ -292,7 +293,7 @@ string recode(iconv_t cd, const string &in) { | |||
292 | 293 | ||
293 | return ret; | 294 | return ret; |
294 | #else | 295 | #else |
295 | return str; | 296 | return in; |
296 | #endif // HAVE_ICONV | 297 | #endif // HAVE_ICONV |
297 | } | 298 | } |
298 | 299 | ||