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
40c03e12
Commit
40c03e12
authored
Nov 16, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(CHECK_NATNUM): Use NATNUMP instead of its expansion.
parent
8ce069f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/xfns.c
src/xfns.c
+2
-3
No files found.
src/xfns.c
View file @
40c03e12
...
...
@@ -717,9 +717,8 @@ x_set_frame_parameters (f, alist)
param_index
=
Fget
(
prop
,
Qx_frame_parameter
);
old_value
=
get_frame_param
(
f
,
prop
);
store_frame_param
(
f
,
prop
,
val
);
if
(
INTEGERP
(
param_index
)
&&
XINT
(
param_index
)
>=
0
&&
(
XINT
(
param_index
)
if
(
NATNUMP
(
param_index
)
&&
(
XFASTINT
(
param_index
)
<
sizeof
(
x_frame_parms
)
/
sizeof
(
x_frame_parms
[
0
])))
(
*
x_frame_parms
[
XINT
(
param_index
)].
setter
)(
f
,
val
,
old_value
);
}
...
...
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