Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'NesTiler/Palette.cs')
-rw-r--r--NesTiler/Palette.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/NesTiler/Palette.cs b/NesTiler/Palette.cs
index 0dc31ff..2e11241 100644
--- a/NesTiler/Palette.cs
+++ b/NesTiler/Palette.cs
@@ -101,6 +101,7 @@ namespace com.clusterrr.Famicom.NesTiler
public bool Equals(Palette other)
{
+ if (other == null) return false;
var colors1 = colors.Where(c => c.HasValue)
.OrderBy(c => c.Value.ToArgb())
.Select(c => c.Value)