mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-10 06:21:48 +08:00
downloader - binary write on resume
This commit is contained in:
parent
dc2a87cabf
commit
21c8cefef2
@ -129,7 +129,7 @@ void FileGet::priv::get_perform()
|
|||||||
if (m_written == 0)
|
if (m_written == 0)
|
||||||
file = fopen(temp_path_wstring.c_str(), "wb");
|
file = fopen(temp_path_wstring.c_str(), "wb");
|
||||||
else
|
else
|
||||||
file = fopen(temp_path_wstring.c_str(), "a");
|
file = fopen(temp_path_wstring.c_str(), "ab");
|
||||||
|
|
||||||
assert(file != NULL);
|
assert(file != NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user