Skip to content

Commit 311c286

Browse files
authored
Remove duplicate branch in ColorTranslator.ToHtml (dotnet/corefx#40337)
Commit migrated from dotnet/corefx@87d6aa5
1 parent 4c28f4a commit 311c286

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libraries/Common/src/System/Drawing/ColorTranslator.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,6 @@ public static string ToHtml(Color c)
307307
colorString = "background";
308308
break;
309309
case KnownColor.Control:
310-
colorString = "buttonface";
311-
break;
312310
case KnownColor.ControlLight:
313311
colorString = "buttonface";
314312
break;

0 commit comments

Comments
 (0)