From b85ee7cb1f62077b2fcccbee11c176451647a927 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Sat, 2 Jan 2010 07:46:00 +0000 Subject: [PATCH] Fix compiler error in previous commit --- source/main.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.pas b/source/main.pas index 4c93368c..13576798 100644 --- a/source/main.pas +++ b/source/main.pas @@ -8317,7 +8317,7 @@ begin Exit; // Between MousDown and MouseUp it is possible that the focused tab has switched. As we simulate a mouse-click // here, we must check if also the MouseDown event was fired on this particular button. See issue #1469. - if Sender <> FLastMouseDownCloseButton) then + if (Sender <> FLastMouseDownCloseButton) then Exit; aPoint := PageControlMain.ScreenToClient((Sender as TPngSpeedButton).ClientToScreen(Point(X,Y))); CloseQueryTab(GetMainTabAt(aPoint.X, aPoint.Y));