#i10000# build fix

This commit is contained in:
Ivo Hinkelmann 2009-08-18 10:12:49 +00:00
parent 5624be5a35
commit e164940097

View file

@ -69,7 +69,7 @@ size_t TextSourceAdaptor::fetch(gr::toffset, size_t, gr::utf32 *)
size_t TextSourceAdaptor::fetch(gr::toffset offset, size_t char_count, gr::utf16 * char_buffer)
{
assert(char_buf);
assert(char_buffer);
size_t copy_count = std::min(size_t(maLayoutArgs.mnLength), char_count);
std::copy(maLayoutArgs.mpStr + offset, maLayoutArgs.mpStr + offset + copy_count, char_buffer);