Fixed MN_STRINGSELECT menu item
[supertux.git] / src / lisp / writer.cpp
index 4126b7f..d2c7b1c 100644 (file)
@@ -33,13 +33,15 @@ Writer::Writer(const std::string& filename)
   out = new OFileStream(filename);
   out_owned = true;
   indent_depth = 0;
+  out->precision(10);
 }
-  
+
 Writer::Writer(std::ostream* newout)
 {
   out = newout;
   out_owned = false;
   indent_depth = 0;
+  out->precision(10);
 }
 
 Writer::~Writer()
@@ -84,7 +86,7 @@ Writer::end_list(const std::string& listname)
     return;
   }
   lists.pop_back();
-  
+
   indent_depth -= 2;
   indent();
   *out << ")\n";