diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-09-09 16:53:14 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-09-09 16:53:14 -0500 |
commit | 01b15115fe165bd694971b0908bb08441675b99e (patch) | |
tree | d5f818f17cbd11ee68c28b6ef8fe8287cfb85b57 | |
parent | baa181a0a54e2e55006cadc4fae20276cd695ec0 (diff) | |
download | sddm-01b15115fe165bd694971b0908bb08441675b99e.tar.gz sddm-01b15115fe165bd694971b0908bb08441675b99e.tar.bz2 sddm-01b15115fe165bd694971b0908bb08441675b99e.zip |
fix typo in is_slot_early
-rw-r--r-- | src/dc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -724,7 +724,7 @@ int is_slot_early(event *ev, int flasher_pmt_id) if (i/32 == flasher_pmt_id/32) { /* This hit is in the same slot as the potential flasher. */ - t_slot[n_slot++] += ev->pmt_hits[i].ept; + t_slot[n_slot++] = ev->pmt_hits[i].ept; continue; } @@ -742,7 +742,7 @@ int is_slot_early(event *ev, int flasher_pmt_id) distance = NORM(pmt_dir); if (distance < 400.0) { - t_nearby[n_nearby++] += ev->pmt_hits[i].ept; + t_nearby[n_nearby++] = ev->pmt_hits[i].ept; continue; } } |