From: "Lubomir I. Ivanov" <[email protected]>
Signed-off-by: Lubomir I. Ivanov <[email protected]>
---
desktop-widgets/simplewidgets.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/desktop-widgets/simplewidgets.cpp
b/desktop-widgets/simplewidgets.cpp
index e6bbe87..ab1fcaa 100644
--- a/desktop-widgets/simplewidgets.cpp
+++ b/desktop-widgets/simplewidgets.cpp
@@ -425,7 +425,7 @@ void ShiftImageTimesDialog::timeEditChanged(const QTime
&time)
void ShiftImageTimesDialog::timeEditChanged()
{
- if (m_amount > 0 == ui.backwards->isChecked())
+ if ((m_amount > 0) == ui.backwards->isChecked())
m_amount *= -1;
if (m_amount) updateInvalid();
}
--
1.7.11.msysgit.0
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface