aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-09-09 11:11:16 -0500
committertlatorre <tlatorre@uchicago.edu>2019-09-09 11:11:16 -0500
commit2ee758581c71d629ba1a1008b6fa788f7423bdbe (patch)
tree1b0e5f6460d5231a7d324cf2a49d69a83806cfa1 /src
parentd956871455887e12c508198061bda892336bc032 (diff)
downloadsddm-2ee758581c71d629ba1a1008b6fa788f7423bdbe.tar.gz
sddm-2ee758581c71d629ba1a1008b6fa788f7423bdbe.tar.bz2
sddm-2ee758581c71d629ba1a1008b6fa788f7423bdbe.zip
fix a typo in is_slot_early()
Diffstat (limited to 'src')
-rw-r--r--src/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dc.c b/src/dc.c
index 8b85070..fa02ac1 100644
--- a/src/dc.c
+++ b/src/dc.c
@@ -697,7 +697,7 @@ int is_slot_early(event *ev, int flasher_pmt_id)
t_slot /= n_slot;
t_nearby /= n_nearby;
- return t_slot < t_nearby + 10.0;
+ return t_slot < t_nearby - 10.0;
}
/* Returns 1 if the event is a flasher and 0 if it isn't. The definition of