mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-06 01:15:24 +00:00
Another compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29742 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
091d4e58e3
commit
5c692aeef2
@ -230,7 +230,7 @@ iconv_convert(IconvProcessor & processor, InType const * buf, size_t buflen)
|
|||||||
if (outbuf.size() < maxoutbufsize)
|
if (outbuf.size() < maxoutbufsize)
|
||||||
outbuf.resize(maxoutbufsize);
|
outbuf.resize(maxoutbufsize);
|
||||||
|
|
||||||
int bytes = processor.convert(inbuf, inbytesleft, outbuf.data(), outbuf.size());
|
int bytes = processor.convert(inbuf, inbytesleft, &outbuf[0], outbuf.size());
|
||||||
if (bytes <= 0)
|
if (bytes <= 0)
|
||||||
// Conversion failed
|
// Conversion failed
|
||||||
// FIXME Maybe throw an exception and handle that in the caller?
|
// FIXME Maybe throw an exception and handle that in the caller?
|
||||||
|
Loading…
Reference in New Issue
Block a user