aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ff/ff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ff/ff.c b/ff/ff.c
index 20cbc4d..64a10d1 100644
--- a/ff/ff.c
+++ b/ff/ff.c
@@ -149,7 +149,7 @@ void ff_stop(t_ff *x)
perror("couldn't read status of effect");
}
- if (x->do_that.value = FF_STATUS_PLAYING) {
+ if (x->do_that.value == FF_STATUS_PLAYING) {
x->do_that.type = EV_FF;
x->do_that.code = x->effects.id;