Added an extra newline character to the Properties::save() method so

that when a Properties object is saved to a properties file, that file
looks more like the default stella.pro.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@130 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2002-11-11 02:49:02 +00:00
parent 009884dad4
commit d876ee0766
1 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: Props.cxx,v 1.3 2002-11-09 23:29:51 stephena Exp $ // $Id: Props.cxx,v 1.4 2002-11-11 02:49:02 stephena Exp $
//============================================================================ //============================================================================
#include "Props.hxx" #include "Props.hxx"
@ -160,6 +160,7 @@ void Properties::save(ostream& out)
// Put a trailing null string so we know when to stop reading // Put a trailing null string so we know when to stop reading
writeQuotedString(out, ""); writeQuotedString(out, "");
out.put('\n'); out.put('\n');
out.put('\n');
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -