X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilexml.C;h=065dce7db07758c48a49b9a6366a3dac0e0180e1;hp=9c99d3f8364b262c318cb5980a77b09889b69ede;hb=7ead44762b23da404eee89b63e0474153fdf58a1;hpb=8de624882f93013542044d4ad39c3f6e2f77d752 diff --git a/cinelerra-5.1/cinelerra/filexml.C b/cinelerra-5.1/cinelerra/filexml.C index 9c99d3f8..065dce7d 100644 --- a/cinelerra-5.1/cinelerra/filexml.C +++ b/cinelerra-5.1/cinelerra/filexml.C @@ -58,7 +58,7 @@ XMLBuffer::XMLBuffer(const char *buf, long buf_size, int del) destroy = del; } -XMLBuffer::XMLBuffer(long buf_size, const char *buf, int del) +XMLBuffer::XMLBuffer(long buf_size, char *buf, int del) { // writing bfr = (unsigned char *)buf; bsz = buf_size; @@ -518,7 +518,7 @@ int FileXML::read_data_until(const char *tag_end, char *out, int len, int skip) ++pos; } // if end tag is reached, pos is left on the < of the end tag - if( !skip && pos >= 0 && !tag_end[pos] && !skip ) + if( !skip && pos >= 0 && !tag_end[pos] ) buffer->iseek(ipos); return opos; }