Skip to content

Commit

Permalink
SpriteSheetGen: Automatically removing spaces from color names.
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed Dec 22, 2015
1 parent 4471aa0 commit 1d1b2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SpriteSheetGen/Program.cs
Expand Up @@ -59,7 +59,7 @@ static void Main(string[] args)
if (getopt.Optarg.StartsWith("#"))
background = Color.FromArgb((int)(0xFF000000 | uint.Parse(getopt.Optarg.Substring(1), System.Globalization.NumberStyles.HexNumber)));
else
background = Color.FromName(getopt.Optarg);
background = Color.FromName(getopt.Optarg.Replace(" ", ""));
break;
}
opt = getopt.getopt();
Expand Down

0 comments on commit 1d1b2ff

Please sign in to comment.