summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/IsWithinAccuracy.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-12-21 09:49:05 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-12-21 09:49:05 +0000
commit9b119cadd74e1343cad493e8b366e69743a620d0 (patch)
treee11d3923e86eb667f1a2f20e1126066e51ed73ce /plugins/Quotes/src/IsWithinAccuracy.h
parent1b85ad91e7aa1af9d295d399e560a2adc6d413d3 (diff)
Quotes: changed warning level to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11552 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src/IsWithinAccuracy.h')
-rw-r--r--plugins/Quotes/src/IsWithinAccuracy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Quotes/src/IsWithinAccuracy.h b/plugins/Quotes/src/IsWithinAccuracy.h
index 5e39281719..2430cd8675 100644
--- a/plugins/Quotes/src/IsWithinAccuracy.h
+++ b/plugins/Quotes/src/IsWithinAccuracy.h
@@ -3,12 +3,12 @@
inline bool IsWithinAccuracy(double dValue1, double dValue2, double dAccuracy = 1e-4)
{
- double dDifference = dValue1 - dValue2 ;
+ double dDifference = dValue1 - dValue2;
if ((-dAccuracy <= dDifference) && (dDifference <= dAccuracy))
- return true ;
+ return true;
else
- return false ;
+ return false;
}