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 diff
     1.1 --- a/api/Exporters/WarFoundryHtmlExporter.cs	Sun Oct 04 15:55:44 2009 +0000
     1.2 +++ b/api/Exporters/WarFoundryHtmlExporter.cs	Sun Oct 04 19:30:42 2009 +0000
     1.3 @@ -8,7 +8,7 @@
     1.4  using System.Text;
     1.5  using System.Xml;
     1.6  using System.Xml.Schema;
     1.7 -using IBBoard.Lang;
     1.8 +using IBBoard.Lang;
     1.9  using IBBoard.Xml;
    1.10  using IBBoard.WarFoundry.API.Objects;
    1.11  
    1.12 @@ -38,9 +38,9 @@
    1.13  		
    1.14  		public void ExportArmy(Army army, string path)
    1.15  		{
    1.16 -			XmlDocument doc = new XmlDocument();
    1.17 -			CustomXmlResolver resolver = new CustomXmlResolver();
    1.18 -			resolver.AddMapping("-//W3C//DTD XHTML 1.0 Strict//EN", new Uri("file://" + IBBoard.Constants.ExecutablePath + "/dtds/xhtml1-strict.dtd"));
    1.19 +			XmlDocument doc = new XmlDocument();
    1.20 +			CustomXmlResolver resolver = new CustomXmlResolver();
    1.21 +			resolver.AddMapping("-//W3C//DTD XHTML 1.0 Strict//EN", new Uri("file://" + IBBoard.Constants.ExecutablePath + "/dtds/xhtml1-strict.dtd"));
    1.22  			doc.XmlResolver = resolver;
    1.23  			doc.AppendChild(doc.CreateDocumentType("html", "-//W3C//DTD XHTML 1.0 Strict//EN", "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd", null));
    1.24  			XmlElement html = doc.CreateElement("html");
     2.1 --- a/api/Objects/Unit.cs	Sun Oct 04 15:55:44 2009 +0000
     2.2 +++ b/api/Objects/Unit.cs	Sun Oct 04 19:30:42 2009 +0000
     2.3 @@ -6,7 +6,7 @@
     2.4  using System.Collections.Generic;
     2.5  using System.Text;
     2.6  using System.Xml;
     2.7 -using IBBoard.Lang;
     2.8 +using IBBoard.Lang;
     2.9  using IBBoard.WarFoundry.API.Util;
    2.10  
    2.11  namespace IBBoard.WarFoundry.API.Objects
    2.12 @@ -223,7 +223,7 @@
    2.13  
    2.14  		[Obsolete("Use UnitEquipmentUtil.GetAllowedEquipmentItems(Unit) instead")]
    2.15  		public UnitEquipmentItem[] GetAllowedAdditionalEquipment()
    2.16 -		{
    2.17 +		{
    2.18  			return UnitEquipmentUtil.GetAllowedEquipmentItems(this);
    2.19  		}
    2.20  
    2.21 @@ -442,7 +442,7 @@
    2.22  
    2.23  		[Obsolete("Use UnitEquipmentUtil.GetBlockingEquipmentItems(Unit, UnitEquipmentItem) instead")]
    2.24  		public List<UnitEquipmentItem> GetBlockingEquipmentItems(UnitEquipmentItem item)
    2.25 -		{
    2.26 +		{
    2.27  			return UnitEquipmentUtil.GetBlockingEquipmentItems(this, item);
    2.28  		}
    2.29  
     3.1 --- a/api/Objects/UnitEquipmentItem.cs	Sun Oct 04 15:55:44 2009 +0000
     3.2 +++ b/api/Objects/UnitEquipmentItem.cs	Sun Oct 04 19:30:42 2009 +0000
     3.3 @@ -3,7 +3,7 @@
     3.4  // 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.
     3.5  
     3.6  using System;
     3.7 -using IBBoard.Lang;
     3.8 +using IBBoard.Lang;
     3.9  using IBBoard.WarFoundry.API.Util;
    3.10  
    3.11  namespace IBBoard.WarFoundry.API.Objects
    3.12 @@ -232,7 +232,7 @@
    3.13  
    3.14  		[Obsolete("Use UnitEquipmentUtil method instead")]
    3.15  		public bool IsMutuallyExclusive(UnitEquipmentItem item)
    3.16 -		{
    3.17 +		{
    3.18  			return UnitEquipmentUtil.ItemsAreMutuallyExclusive(this, item);
    3.19  		}
    3.20  	}