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
76c1cebc
Commit
76c1cebc
authored
Feb 26, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* frame.c (x_set_screen_gamma): Rename local to avoid shadowing.
parent
0ff162fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
src/ChangeLog
src/ChangeLog
+2
-0
src/frame.c
src/frame.c
+5
-5
No files found.
src/ChangeLog
View file @
76c1cebc
2011-02-27 Paul Eggert <eggert@cs.ucla.edu>
* frame.c (x_set_screen_gamma): Rename local to avoid shadowing.
* frame.h: Avoid gcc -Wmissing-prototypes diagnostics.
(set_menu_bar_lines, x_get_resource_string): New decls.
* msdos.c (set_menu_bar_lines): Omit decl.
src/frame.c
View file @
76c1cebc
...
...
@@ -3275,12 +3275,12 @@ x_set_screen_gamma (struct frame *f, Lisp_Object new_value, Lisp_Object old_valu
bgcolor
=
Fassq
(
Qbackground_color
,
f
->
param_alist
);
if
(
CONSP
(
bgcolor
)
&&
(
bgcolor
=
XCDR
(
bgcolor
),
STRINGP
(
bgcolor
)))
{
Lisp_Object
index
=
Fget
(
Qbackground_color
,
Qx_frame_parameter
);
if
(
NATNUMP
(
index
)
&&
(
XFASTINT
(
index
)
Lisp_Object
parm_
index
=
Fget
(
Qbackground_color
,
Qx_frame_parameter
);
if
(
NATNUMP
(
parm_
index
)
&&
(
XFASTINT
(
parm_
index
)
<
sizeof
(
frame_parms
)
/
sizeof
(
frame_parms
[
0
]))
&&
FRAME_RIF
(
f
)
->
frame_parm_handlers
[
XFASTINT
(
index
)])
(
*
FRAME_RIF
(
f
)
->
frame_parm_handlers
[
XFASTINT
(
index
)])
&&
FRAME_RIF
(
f
)
->
frame_parm_handlers
[
XFASTINT
(
parm_
index
)])
(
*
FRAME_RIF
(
f
)
->
frame_parm_handlers
[
XFASTINT
(
parm_
index
)])
(
f
,
bgcolor
,
Qnil
);
}
...
...
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