]> code.delx.au - gnu-emacs/commitdiff
* src/w32notify.c (Fw32notify_add_watch): Fix version check.
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 24 Oct 2015 22:00:26 +0000 (00:00 +0200)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 24 Oct 2015 22:00:26 +0000 (00:00 +0200)
src/w32notify.c

index e822d9502632222411dfb3b79dd03e9070571e6e..de27ab89b51e0078394edc4c97be8bf3d971448f 100644 (file)
@@ -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",