Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f390e2d5
Commit
f390e2d5
authored
Apr 05, 2011
by
Paul Eggert
Browse files
* xmenu.c (Fx_popup_dialog): Don't assume string is free of formats.
parent
42eea0d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
src/ChangeLog
src/ChangeLog
+2
-0
src/xmenu.c
src/xmenu.c
+1
-1
No files found.
src/ChangeLog
View file @
f390e2d5
...
...
@@ -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
src/xmenu.c
View file @
f390e2d5
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment