Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b00876c9
Commit
b00876c9
authored
Jun 25, 2012
by
Dmitry Antipov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* xmenu.c (xmenu_show, xdialog_show): Explicit cast from
`const char *' to `char *' to avoid compiler warning.
parent
885d1d74
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/xmenu.c
src/xmenu.c
+2
-2
No files found.
src/ChangeLog
View file @
b00876c9
2012-06-25 Dmitry Antipov <dmantipov@yandex.ru>
* xmenu.c (xmenu_show, xdialog_show): Explicit cast from
`const char *' to `char *' to avoid compiler warning.
2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
* xterm.c (x_term_init): Build proper-sized _XSETTINGS_Snnn string
...
...
src/xmenu.c
View file @
b00876c9
...
...
@@ -1729,7 +1729,7 @@ xmenu_show (FRAME_PTR f, int x, int y, int for_click, int keymaps,
save_wv
->
next
=
wv
;
else
first_wv
->
contents
=
wv
;
wv
->
name
=
pane_string
;
wv
->
name
=
(
char
*
)
pane_string
;
if
(
keymaps
&&
!
NILP
(
prefix
))
wv
->
name
++
;
wv
->
value
=
0
;
...
...
@@ -2060,7 +2060,7 @@ xdialog_show (FRAME_PTR f,
pane_string
=
(
NILP
(
pane_name
)
?
""
:
SSDATA
(
pane_name
));
prev_wv
=
xmalloc_widget_value
();
prev_wv
->
value
=
pane_string
;
prev_wv
->
value
=
(
char
*
)
pane_string
;
if
(
keymaps
&&
!
NILP
(
prefix
))
prev_wv
->
name
++
;
prev_wv
->
enabled
=
1
;
...
...
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