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:
parent
3579de9141
commit
af27b0937b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user