mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-30 10:11:47 -07:00
* src/xselect.c (x_convert_selection): Yet another int/Lisp_Object mixup.
This commit is contained in:
parent
7a6b1aef76
commit
18480f8fc0
2 changed files with 8 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
/* Handle a SelectionClear event EVENT, which indicates that some
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue