Browse Source

Added missing 'this'.

af/merge-core
dirk 10 years ago
parent
commit
c48cbf6b03
  1. 4
      src/ImageSharp/Colors/Color.cs

4
src/ImageSharp/Colors/Color.cs

@ -70,7 +70,7 @@ namespace ImageSharp
} }
// Order parsed from hex string will be backwards, so reverse it. // 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);
} }
/// <summary> /// <summary>
@ -242,7 +242,7 @@ namespace ImageSharp
/// <returns>A hexadecimal string representation of the value.</returns> /// <returns>A hexadecimal string representation of the value.</returns>
public string ToHex() 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"); return hexOrder.ToString("X8");
} }

Loading…
Cancel
Save