Merge pull request #3613 from kloun/patch-4
authorMarek Safar <marek.safar@gmail.com>
Thu, 22 Sep 2016 21:37:47 +0000 (23:37 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Sep 2016 21:37:47 +0000 (23:37 +0200)
fix another ERIC

mcs/class/System.Windows.Forms/System.Windows.Forms/Hwnd.cs

index 505a41a0449b6d1c23dabd6e790f4add37288d88..b926e4ed1a8052054703a59723d0aefc3887c534 100644 (file)
@@ -596,7 +596,7 @@ namespace System.Windows.Forms {
 
                                if (this.title_style == TitleStyle.Normal)  {
                                        pt.Y += caption_height;
-                               } else if (this.title_style == TitleStyle.Normal)  {
+                               } else if (this.title_style == TitleStyle.Tool)  {
                                        pt.Y += tool_caption_height;
                                }