use settings for xml writing

This commit is contained in:
Alexander Eckart committed 2013-09-07 15:45:04 +02:00
1 parent d144c497be
commit 00660c8b68
1 file changed
+1 -1
+1 -1
View File
@@ -304,7 +304,7 @@ namespace Vocaluxe.Base
XmlWriter writer = null;
try
{
writer = XmlWriter.Create(Path.Combine(CSettings.DataPath, CSettings.FileConfig));
writer = XmlWriter.Create(Path.Combine(CSettings.DataPath, CSettings.FileConfig), _Settings);
writer.WriteStartDocument();
writer.WriteStartElement("root");