diff options
author | koekeishiya <aasvi93@hotmail.com> | 2018-07-20 11:35:52 +0200 |
---|---|---|
committer | koekeishiya <aasvi93@hotmail.com> | 2018-07-20 11:35:52 +0200 |
commit | 3bbbd37c796eb7039247cb1625608062dcc898e7 (patch) | |
tree | e2dc7ad1ec98f966036b23b8a2b5b60ce5bba52a /src | |
parent | e374b97695ab52d4c9036ceae207135e98807e6d (diff) | |
download | skhd-3bbbd37c796eb7039247cb1625608062dcc898e7.tar.gz skhd-3bbbd37c796eb7039247cb1625608062dcc898e7.zip |
fix typo
Diffstat (limited to 'src')
-rw-r--r-- | src/hotload.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |