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
700fb05a
Commit
700fb05a
authored
Sep 20, 1999
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(direct_output_for_insert): Cast arguments to
safe_bcopy to char *.
parent
dd8daec5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/dispnew.c
src/dispnew.c
+2
-1
No files found.
src/dispnew.c
View file @
700fb05a
...
...
@@ -3140,7 +3140,8 @@ direct_output_for_insert (g)
/* Make room for new glyphs, then insert them. */
xassert
(
end
-
glyphs
-
n
>=
0
);
safe_bcopy
(
glyphs
,
glyphs
+
n
,
(
end
-
glyphs
-
n
)
*
sizeof
(
*
end
));
safe_bcopy
((
char
*
)
glyphs
,
(
char
*
)
(
glyphs
+
n
),
(
end
-
glyphs
-
n
)
*
sizeof
(
*
end
));
bcopy
(
it
.
glyph_row
->
glyphs
[
TEXT_AREA
],
glyphs
,
n
*
sizeof
*
glyphs
);
glyph_row
->
used
[
TEXT_AREA
]
=
min
(
glyph_row
->
used
[
TEXT_AREA
]
+
n
,
end
-
glyph_row
->
glyphs
[
TEXT_AREA
]);
...
...
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