This commit is contained in:
Nekotekina 2017-03-05 21:42:27 +03:00
parent 19a698682b
commit 9a9455a696
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ bool tar_object::extract(std::string path)
{ {
case '0': case '0':
{ {
fs::file file(header.name, fs::rewrite); fs::file file(path + header.name, fs::rewrite);
file.write(get_file(header.name).to_vector<u8>()); file.write(get_file(header.name).to_vector<u8>());
break; break;
} }