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
ae19c6f2
Commit
ae19c6f2
authored
Aug 22, 1996
by
Erik Naggum
Browse files
(change_frame_size_1): Clean up conditional.
parent
6044e593
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/dispnew.c
src/dispnew.c
+4
-2
No files found.
src/dispnew.c
View file @
ae19c6f2
...
...
@@ -2134,8 +2134,10 @@ change_frame_size_1 (frame, newheight, newwidth, pretend, delay)
FRAME_NEW_WIDTH
(
frame
)
=
0
;
/* If an argument is zero, set it to the current value. */
newheight
||
(
newheight
=
FRAME_HEIGHT
(
frame
));
newwidth
||
(
newwidth
=
FRAME_WIDTH
(
frame
));
if
(
newheight
==
0
)
newheight
=
FRAME_HEIGHT
(
frame
);
if
(
newwidth
==
0
)
newwidth
=
FRAME_WIDTH
(
frame
);
/* Round up to the smallest acceptable size. */
check_frame_size
(
frame
,
&
newheight
,
&
newwidth
);
...
...
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