From 478d9d9db39af654abdfeb793f2d9c2ecb71daf1 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Sun, 25 Oct 2015 00:00:26 +0200 Subject: [PATCH] * src/w32notify.c (Fw32notify_add_watch): Fix version check. --- src/w32notify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w32notify.c b/src/w32notify.c index e822d950263..de27ab89b51 100644 --- a/src/w32notify.c +++ b/src/w32notify.c @@ -525,7 +525,7 @@ generate notifications correctly, though. */) /* The underlying features are available only since XP. */ if (os_subtype == OS_9X - || (w32_major_version == 5 && w32_major_version < 1)) + || (w32_major_version == 5 && w32_minor_version < 1)) { errno = ENOSYS; report_file_notify_error ("Watching filesystem events is not supported", -- 2.39.5