mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
* xmenu.c (Fx_popup_dialog): Don't assume string is free of formats.
This commit is contained in:
parent
42eea0d01a
commit
f390e2d53a
2 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
Fix more problems found by GCC 4.6.0's static checks.
|
||||
|
||||
* xmenu.c (Fx_popup_dialog): Don't assume string is free of formats.
|
||||
|
||||
* menu.c (Fx_popup_menu): Don't assume error_name lacks printf formats.
|
||||
|
||||
* fns.c (Fstring_to_unibyte): Don't rely on undefined behavior
|
||||
|
|
|
|||
|
|
@ -341,7 +341,7 @@ for instance using the window manager, then this produces a quit and
|
|||
unbind_to (specpdl_count, Qnil);
|
||||
discard_menu_items ();
|
||||
|
||||
if (error_name) error (error_name);
|
||||
if (error_name) error ("%s", error_name);
|
||||
return selection;
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue