1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00
w32fns.c (x_create_tip_frame): Copy `parms' before we modify it
 in this function.
This commit is contained in:
Eli Zaretskii 2010-03-31 12:08:40 +03:00
parent 4f103e0430
commit 4a217bedd4
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2010-03-31 Eli Zaretskii <eliz@gnu.org>
* w32fns.c (x_create_tip_frame): Copy `parms' before we modify it
in this function. (Bug#5703)
2010-03-31 Chong Yidong <cyd@stupidchicken.com>
* nsterm.h: Fix last change.

View file

@ -5427,6 +5427,10 @@ x_create_tip_frame (dpyinfo, parms, text)
kb = dpyinfo->terminal->kboard;
/* The calls to x_get_arg remove elements from PARMS, so copy it to
avoid destructive changes behind our caller's back. */
parms = Fcopy_alist (parms);
/* Get the name of the frame to use for resource lookup. */
name = x_get_arg (dpyinfo, parms, Qname, "name", "Name", RES_TYPE_STRING);
if (!STRINGP (name)