From 8417e77d7b60c220f28ac25f2812ea79509dfd99 Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Sun, 14 Sep 2014 20:26:09 -0700 Subject: Fix divide by zero on empty choices list --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 37f9b54..25fc0ea 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ INSTALL_DATA=${INSTALL} -m 644 all: fzy fzytest -fzytest: fzytest.o match.o +fzytest: fzytest.o match.o choices.o $(CC) $(CFLAGS) $(CCFLAGS) -o $@ $^ test: fzytest -- cgit v1.2.3