fix confusing comment. Escaping doesn't affect this; commas aren't escaped, since they're split from the value itself, long after MsdFile is loaded. We should deprecate 1,1,1,1 colors in favor of #FFFFFF; they're easier to read and type, too.

This commit is contained in:
Glenn Maynard
2009-11-05 02:03:08 +00:00
parent c78548d862
commit 14c2a05de7
-2
View File
@@ -211,12 +211,10 @@ bool LoadFromBGChangesString( BackgroundChange &change, const RString &sBGChange
{
case 11:
change.m_def.m_sColor2 = aBGChangeValues[10];
// .sm files made before we started escaping will still have '^' instead of ','
change.m_def.m_sColor2.Replace( '^', ',' );
// fall through
case 10:
change.m_def.m_sColor1 = aBGChangeValues[9];
// .sm files made before we started escaping will still have '^' instead of ','
change.m_def.m_sColor1.Replace( '^', ',' );
// fall through
case 9: