diff src/xselect.c @ 175:2d532a89d707 r20-3b14

Import from CVS: tag r20-3b14
author cvs
date Mon, 13 Aug 2007 09:50:14 +0200
parents 8eaf7971accc
children 6075d714658b
line wrap: on
line diff
--- a/src/xselect.c	Mon Aug 13 09:49:11 2007 +0200
+++ b/src/xselect.c	Mon Aug 13 09:50:14 2007 +0200
@@ -1836,7 +1836,7 @@
   CHECK_SYMBOL (selection);
   if (!NILP (Fx_selection_owner_p (selection)))
     return Qt;
-  return XGetSelectionOwner (dpy, symbol_to_x_atom (d, selection, 0)) != NULL ?
+  return XGetSelectionOwner (dpy, symbol_to_x_atom (d, selection, 0)) != None ?
     Qt : Qnil;
 }