mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 18:24:48 +00:00
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:
parent
21b1aac809
commit
d64b3a4a0a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user