From d12c6844ed9d1f50edc09a5aa9ded50601845bc6 Mon Sep 17 00:00:00 2001 From: dirk Date: Mon, 7 Nov 2016 21:39:32 +0100 Subject: [PATCH] Added missing 'this'. --- src/ImageSharp/Colors/Color.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ImageSharp/Colors/Color.cs b/src/ImageSharp/Colors/Color.cs index edd0fd0f09..c4ea2d7623 100644 --- a/src/ImageSharp/Colors/Color.cs +++ b/src/ImageSharp/Colors/Color.cs @@ -70,7 +70,7 @@ namespace ImageSharp } // Order parsed from hex string will be backwards, so reverse it. - packedValue = Pack(A, B, G, R); + this.packedValue = Pack(this.A, this.B, this.G, this.R); } /// @@ -242,7 +242,7 @@ namespace ImageSharp /// A hexadecimal string representation of the value. public string ToHex() { - uint hexOrder = Pack(A, B, G, R); + uint hexOrder = Pack(this.A, this.B, this.G, this.R); return hexOrder.ToString("X8"); }