* src/xselect.c (x_convert_selection): Yet another int/Lisp_Object mixup.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 May 2011 19:39:18 +0000 (16:39 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 27 May 2011 19:39:18 +0000 (16:39 -0300)
src/ChangeLog
src/xselect.c

index 1ffeba8..1f7c7e6 100644 (file)
@@ -1,3 +1,7 @@
+2011-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xselect.c (x_convert_selection): Yet another int/Lisp_Object mixup.
+
 2011-05-27  Paul Eggert  <eggert@cs.ucla.edu>
 
        * xselect.c: Fix minor problems prompted by GCC 4.6.0 warnings.
index c33d011..8741cb8 100644 (file)
@@ -904,7 +904,8 @@ x_convert_selection (struct input_event *event, Lisp_Object selection_symbol,
          converted_selections = cs;
        }
 
-      RETURN_UNGCPRO (0);
+      UNGCPRO;
+      return 0;
     }
 
   /* Otherwise, record the converted selection to binary.  */
@@ -919,7 +920,8 @@ x_convert_selection (struct input_event *event, Lisp_Object selection_symbol,
                               &(cs->data), &(cs->type),
                               &(cs->size), &(cs->format),
                               &(cs->nofree));
-  RETURN_UNGCPRO (1);
+  UNGCPRO;
+  return 1;
 }
 \f
 /* Handle a SelectionClear event EVENT, which indicates that some