Fixed MN_STRINGSELECT menu item
[supertux.git] / src / lisp / writer.cpp
index 13e6459..d2c7b1c 100644 (file)
@@ -1,7 +1,7 @@
 //  $Id$
 //
-//  SuperTux -  A Jump'n Run
-//  Copyright (C) 2004 Matthias Braun <matze@braunis.de
+//  SuperTux
+//  Copyright (C) 2006 Matthias Braun <matze@braunis.de>
 //
 //  This program is free software; you can redistribute it and/or
 //  modify it under the terms of the GNU General Public License
@@ -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";