Tested and fixed conversion of a descriptor (pointer) to event code.
[bpt/emacs.git] / src / w32notify.c
index f146210..9fcd15e 100644 (file)
@@ -600,8 +600,9 @@ w32_get_watch_object (void *desc)
 {
   Lisp_Object descriptor = XIL ((EMACS_INT)desc);
 
-  /* This is called from the input queue handling code, so we cannot
-     possibly QUIT if watch_list is not in the right condition.  */
+  /* This is called from the input queue handling code, inside a
+     critical section, so we cannot possibly QUIT if watch_list is not
+     in the right condition.  */
   return NILP (watch_list) ? Qnil : assoc_no_quit (descriptor, watch_list);
 }