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
319f0b4f
Commit
319f0b4f
authored
Oct 06, 2001
by
Gerd Moellmann
Browse files
(make_gap): Use MOST_POSITIVE_FIXNUM.
parent
29d823d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/insdel.c
src/insdel.c
+1
-1
No files found.
src/insdel.c
View file @
319f0b4f
...
...
@@ -539,7 +539,7 @@ make_gap (nbytes_added)
That won't work because so many places use `int'. */
if
(
Z_BYTE
-
BEG_BYTE
+
GAP_SIZE
+
nbytes_added
>=
((
unsigned
)
1
<<
(
min
(
BITS_PER_INT
,
VALBITS
)
-
1
))
)
>=
MOST_POSITIVE_FIXNUM
)
error
(
"Buffer exceeds maximum size"
);
enlarge_buffer_text
(
current_buffer
,
nbytes_added
);
...
...
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