mirror of https://github.com/vitalif/openscad
win32 fix: Output exponents the same way as for *nix
parent
45161d4356
commit
6bb261bcd5
|
@ -65,6 +65,10 @@ string dumptree(const Tree &tree, const AbstractNode &node)
|
|||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
#ifdef WIN32
|
||||
_set_output_format(_TWO_DIGIT_EXPONENT);
|
||||
#endif
|
||||
|
||||
if (argc != 3) {
|
||||
fprintf(stderr, "Usage: %s <file.scad> <output.txt>\n", argv[0]);
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in New Issue