Bugfix: binary STL export produced corrupt results on Windows. #1814

This commit is contained in:
Alessandro Ranellucci 2014-03-23 19:17:02 +01:00
parent f93c34ec25
commit d02b64b31b

View File

@ -249,7 +249,7 @@ stl_write_binary(stl_file *stl, const char *file, const char *label)
/* Open the file */
fp = fopen(file, "w");
fp = fopen(file, "wb");
if(fp == NULL)
{
error_msg = (char*)