mirror of
https://github.com/isledecomp/SIEdit.git
synced 2025-02-17 00:40:42 -05:00
don't print empty data string
This commit is contained in:
parent
5a09a29125
commit
cc4534c999
1 changed files with 5 additions and 1 deletions
|
@ -306,7 +306,11 @@ Object *Interleaf::ReadObject(FileBase *f, Object *o, std::stringstream &desc)
|
|||
desc << "Extra Size: " << extra_sz << std::endl;
|
||||
o->extra_ = f->ReadBytes(extra_sz);
|
||||
|
||||
desc << "Extra Data: " << o->extra_.data() << std::endl;
|
||||
desc << "Extra Data: ";
|
||||
if (o->extra_.size() > 0) {
|
||||
desc << o->extra_.data() << std::endl;
|
||||
}
|
||||
desc << std::endl;
|
||||
|
||||
if (o->type_ != MxOb::Presenter && o->type_ != MxOb::World && o->type_ != MxOb::Animation) {
|
||||
o->filename_ = f->ReadString();
|
||||
|
|
Loading…
Reference in a new issue