Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
lingeringwillx authored Nov 9, 2023
1 parent 6816d93 commit 8175579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbpf.h
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ namespace dbpf {
clst.size = pos;

if(clst.size > 0) {
clstContent = bytes(clstContent.begin(), clstContent.begin() + pos);
clstContent.resize(clst.size);
writeFile(newFile, clstContent);
package.entries.push_back(clst);
}
Expand Down

0 comments on commit 8175579

Please sign in to comment.