simple one line optimisation in iconv_convert().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14854 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-08-31 08:49:12 +00:00
parent 21b1aac809
commit d64b3a4a0a

View File

@ -49,7 +49,7 @@ iconv_convert(std::string const & tocode, std::string const & fromcode,
char ICONV_CONST * inbuf = const_cast<char ICONV_CONST *>(&buf[0]);
size_t inbytesleft = buf.size();
char out[1000] = { 0 };
static char out[1000];
char * outbuf = out;
size_t outbytesleft = 1000;