From 3bbbd37c796eb7039247cb1625608062dcc898e7 Mon Sep 17 00:00:00 2001 From: koekeishiya Date: Fri, 20 Jul 2018 11:35:52 +0200 Subject: fix typo --- src/hotload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotload.c b/src/hotload.c index 4f24f15..6610609 100644 --- a/src/hotload.c +++ b/src/hotload.c @@ -193,7 +193,7 @@ bool hotloader_begin(struct hotloader *hotloader, hotloader_callback *callback) CFStringRef string_refs[hotloader->watch_count]; for (unsigned index = 0; index < hotloader->watch_count; ++index) { - struct watched_entry *watch_info = hotloader->watch_list + watch_index; + struct watched_entry *watch_info = hotloader->watch_list + index; char *directory = watch_info->kind == WATCH_KIND_FILE ? watch_info->file_info.directory : watch_info->catalog_info.directory; -- cgit v1.2.3