Skip to content

Commit

Permalink
Remove intermediate debugging variables from Themes.ThemeSerializer.E…
Browse files Browse the repository at this point in the history
…ncodeColorName().
  • Loading branch information
rmcardle committed Mar 21, 2013
1 parent 4f06a48 commit e132934
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mRemoteV1/Themes/ThemeSerializer.vb
Expand Up @@ -103,10 +103,7 @@ Namespace Themes
If color.IsNamedColor Then
Return color.Name
Else
Dim argb As Integer = color.ToArgb()
Dim hexValue As String = Hex(argb)
Dim paddedHex As String = hexValue.PadLeft(8, "0")
Return paddedHex
Return Hex(color.ToArgb()).PadLeft(8, "0")
End If
End Function

Expand Down

0 comments on commit e132934

Please sign in to comment.