[longomatch] Add braces around && operation to be more explicit
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add braces around && operation to be more explicit
- Date: Mon, 27 Apr 2015 22:23:38 +0000 (UTC)
commit 0d10847b389bf298240196f6a33751eb8cee3552
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Apr 27 19:27:43 2015 +0200
Add braces around && operation to be more explicit
LongoMatch.GUI/Gui/Dialog/DrawingTool.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs b/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
index 81f42da..954224c 100644
--- a/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
+++ b/LongoMatch.GUI/Gui/Dialog/DrawingTool.cs
@@ -546,8 +546,8 @@ namespace LongoMatch.Gui.Dialog
void HandleRegionOfInterestChanged (object sender, EventArgs e)
{
if (blackboard.RegionOfInterest.Empty ||
- blackboard.RegionOfInterest.Width == blackboard.Background.Width &&
- blackboard.RegionOfInterest.Height == blackboard.Background.Height) {
+ (blackboard.RegionOfInterest.Width == blackboard.Background.Width &&
+ blackboard.RegionOfInterest.Height == blackboard.Background.Height)) {
hscrollbar.Visible = false;
wscrollbar.Visible = false;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]