0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-28 23:03:00 +08:00

Fixed bug in xml_buffer_writer::write

git-svn-id: http://pugixml.googlecode.com/svn/trunk@116 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
arseny.kapoulkine 2009-02-08 07:39:49 +00:00
parent 3579de9141
commit af27b0937b

View File

@ -1410,11 +1410,9 @@ namespace
return;
}
}
else
{
memcpy(buffer + bufsize, data, size);
bufsize += size;
}
memcpy(buffer + bufsize, data, size);
bufsize += size;
}
void write(const char* data)