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 2d9c399d96
commit 280a1a369e

View file

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