mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-27 21:19:18 +00:00
Save HttpLoader output as binary
This commit is contained in:
parent
cf8cd97cb6
commit
5dee5f3a57
@ -60,7 +60,7 @@ void HttpLoader::threadHttpRequest()
|
||||
base::replace_string(fn, "&", "-");
|
||||
fn = base::join_path(dir, fn);
|
||||
|
||||
std::ofstream output(FSTREAM_PATH(fn));
|
||||
std::ofstream output(FSTREAM_PATH(fn), std::ofstream::binary);
|
||||
net::HttpRequest http(m_url);
|
||||
net::HttpResponse response(&output);
|
||||
http.send(response);
|
||||
|
Loading…
Reference in New Issue
Block a user