attempt to fix problem with WML ordering (merged 2008-03-23T05:33:27Z!davewx7@gmail.com from trunk)
This commit is contained in:
parent
7dc1eeffe1
commit
8c28fa66b8
1 changed files with 1 additions and 4 deletions
|
@ -409,11 +409,9 @@ const string_span& node::first_child() const
|
|||
|
||||
int node::output_size() const
|
||||
{
|
||||
/*
|
||||
if(output_cache_.empty() == false) {
|
||||
return output_cache_.size();
|
||||
}
|
||||
*/
|
||||
|
||||
int res = 0;
|
||||
for(attribute_list::const_iterator i = attr_.begin(); i != attr_.end(); ++i) {
|
||||
|
@ -452,14 +450,13 @@ void node::shift_buffers(int offset)
|
|||
|
||||
void node::output(char*& buf)
|
||||
{
|
||||
/*
|
||||
if(output_cache_.empty() == false) {
|
||||
memcpy(buf, output_cache_.begin(), output_cache_.size());
|
||||
shift_buffers(buf - output_cache_.begin());
|
||||
buf += output_cache_.size();
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
char* begin = buf;
|
||||
|
||||
for(std::vector<attribute>::iterator i = attr_.begin(); i != attr_.end(); ++i) {
|
||||
|
|
Loading…
Add table
Reference in a new issue