[longomatch] Fix build



commit e7022db582b06d7015027c52c6a2f7c942cb7312
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Thu Dec 22 22:38:51 2011 +0100

    Fix build

 LongoMatch.Core/LongoMatch.Core.mdp |    1 +
 LongoMatch.Core/Store/Category.cs   |    2 +-
 Makefile.win32                      |    1 +
 3 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/LongoMatch.Core/LongoMatch.Core.mdp b/LongoMatch.Core/LongoMatch.Core.mdp
index 63f6f04..f72e990 100644
--- a/LongoMatch.Core/LongoMatch.Core.mdp
+++ b/LongoMatch.Core/LongoMatch.Core.mdp
@@ -88,6 +88,7 @@
     <File subtype="Directory" buildaction="Compile" name="Common" />
     <File subtype="Code" buildaction="Compile" name="Common/Image.cs" />
     <File subtype="Directory" buildaction="Compile" name="Common" />
+    <File subtype="Code" buildaction="Compile" name="Common/Color.cs" />
   </Contents>
   <References>
     <ProjectReference type="Gac" localcopy="True" refto="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
diff --git a/LongoMatch.Core/Store/Category.cs b/LongoMatch.Core/Store/Category.cs
index 79ccfba..c2f626b 100644
--- a/LongoMatch.Core/Store/Category.cs
+++ b/LongoMatch.Core/Store/Category.cs
@@ -135,7 +135,7 @@ namespace LongoMatch.Store
 			SubCategories = (List<ISubCategory>)info.GetValue("subcategories", typeof(List<ISubCategory>));
 			Position = info.GetInt32("position");
 			SortMethod = (SortMethodType)info.GetValue("sort_method", typeof(SortMethodType));
-			Color = new Color.FromArgb(
+			Color = Color.FromArgb(
 				ColorHelper.ShortToByte((ushort)info.GetValue("red", typeof(ushort))),
 				ColorHelper.ShortToByte((ushort)info.GetValue("green", typeof(ushort))),
 				ColorHelper.ShortToByte((ushort)info.GetValue("blue", typeof(ushort))));
diff --git a/Makefile.win32 b/Makefile.win32
index 9551216..2b5fc8f 100644
--- a/Makefile.win32
+++ b/Makefile.win32
@@ -81,6 +81,7 @@ LONGOMATCH_CORE=${BUILD_DIR}/LongoMatch.dll
 LONGOMATCH_CORE_FILES = \
 	Common/CaptureSettings.cs \
 	Common/Cloner.cs \
+	Common/Color.cs \
 	Common/ConsoleCrayon.cs \
 	Common/Constants.cs \
 	Common/Device.cs \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]