changeset 164:91f7b8da0b53

* Line-ending fix no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sun, 04 Oct 2009 19:30:42 +0000
parents 395c8042dc03
children 71e50c0884a2
files api/Exporters/WarFoundryHtmlExporter.cs api/Objects/Unit.cs api/Objects/UnitEquipmentItem.cs
diffstat 3 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/api/Exporters/WarFoundryHtmlExporter.cs	Sun Oct 04 15:55:44 2009 +0000
+++ b/api/Exporters/WarFoundryHtmlExporter.cs	Sun Oct 04 19:30:42 2009 +0000
@@ -8,7 +8,7 @@
 using System.Text;
 using System.Xml;
 using System.Xml.Schema;
-using IBBoard.Lang;
+using IBBoard.Lang;
 using IBBoard.Xml;
 using IBBoard.WarFoundry.API.Objects;
 
@@ -38,9 +38,9 @@
 		
 		public void ExportArmy(Army army, string path)
 		{
-			XmlDocument doc = new XmlDocument();
-			CustomXmlResolver resolver = new CustomXmlResolver();
-			resolver.AddMapping("-//W3C//DTD XHTML 1.0 Strict//EN", new Uri("file://" + IBBoard.Constants.ExecutablePath + "/dtds/xhtml1-strict.dtd"));
+			XmlDocument doc = new XmlDocument();
+			CustomXmlResolver resolver = new CustomXmlResolver();
+			resolver.AddMapping("-//W3C//DTD XHTML 1.0 Strict//EN", new Uri("file://" + IBBoard.Constants.ExecutablePath + "/dtds/xhtml1-strict.dtd"));
 			doc.XmlResolver = resolver;
 			doc.AppendChild(doc.CreateDocumentType("html", "-//W3C//DTD XHTML 1.0 Strict//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd", null));
 			XmlElement html = doc.CreateElement("html");
--- a/api/Objects/Unit.cs	Sun Oct 04 15:55:44 2009 +0000
+++ b/api/Objects/Unit.cs	Sun Oct 04 19:30:42 2009 +0000
@@ -6,7 +6,7 @@
 using System.Collections.Generic;
 using System.Text;
 using System.Xml;
-using IBBoard.Lang;
+using IBBoard.Lang;
 using IBBoard.WarFoundry.API.Util;
 
 namespace IBBoard.WarFoundry.API.Objects
@@ -223,7 +223,7 @@
 
 		[Obsolete("Use UnitEquipmentUtil.GetAllowedEquipmentItems(Unit) instead")]
 		public UnitEquipmentItem[] GetAllowedAdditionalEquipment()
-		{
+		{
 			return UnitEquipmentUtil.GetAllowedEquipmentItems(this);
 		}
 
@@ -442,7 +442,7 @@
 
 		[Obsolete("Use UnitEquipmentUtil.GetBlockingEquipmentItems(Unit, UnitEquipmentItem) instead")]
 		public List<UnitEquipmentItem> GetBlockingEquipmentItems(UnitEquipmentItem item)
-		{
+		{
 			return UnitEquipmentUtil.GetBlockingEquipmentItems(this, item);
 		}
 
--- a/api/Objects/UnitEquipmentItem.cs	Sun Oct 04 15:55:44 2009 +0000
+++ b/api/Objects/UnitEquipmentItem.cs	Sun Oct 04 19:30:42 2009 +0000
@@ -3,7 +3,7 @@
 // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license.
 
 using System;
-using IBBoard.Lang;
+using IBBoard.Lang;
 using IBBoard.WarFoundry.API.Util;
 
 namespace IBBoard.WarFoundry.API.Objects
@@ -232,7 +232,7 @@
 
 		[Obsolete("Use UnitEquipmentUtil method instead")]
 		public bool IsMutuallyExclusive(UnitEquipmentItem item)
-		{
+		{
 			return UnitEquipmentUtil.ItemsAreMutuallyExclusive(this, item);
 		}
 	}