fix thumbnails regression

This commit is contained in:
SoftFever 2023-11-17 07:54:59 +08:00
parent bc05653a72
commit 9505f93717

View File

@ -66,10 +66,11 @@ inline void export_thumbnails_to_file(ThumbnailsGeneratorCallback &thumbnail_cb,
encoded = encoded.substr(max_row_length); encoded = encoded.substr(max_row_length);
} }
// Orca write remaining ecoded data
if (encoded.size() > 0) if (encoded.size() > 0)
output((boost::format("; %s end\n;\n") % compressed->tag()).str().c_str()); output((boost::format("; %s\n") % encoded).str().c_str());
output("; thumbnail end\n"); output((boost::format("; %s end\n") % compressed->tag()).str().c_str());
} }
throw_if_canceled(); throw_if_canceled();
} }