projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0ff2d2
)
Coverity: UNINIT: CID 395
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Fri, 20 Jan 2012 03:10:06 +0000
(22:10 -0500)
committer
Nelson Ferreira
<nelson.ferreira@ieee.org>
Fri, 20 Jan 2012 03:10:06 +0000
(22:10 -0500)
* src/extents.c (extent_fragment_update): Make sure the glyph_bloc
is initialized.
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/extents.c
patch
|
blob
|
history
diff --git
a/src/extents.c
b/src/extents.c
index
226a17c
..
92d1c8b
100644
(file)
--- a/
src/extents.c
+++ b/
src/extents.c
@@
-2932,6
+2932,8
@@
extent_fragment_update(struct window * w, struct extent_fragment * ef,
if (!NILP(glyph)) {
struct glyph_block gb;
+ memset(&gb,0,sizeof(gb));
+
gb.glyph = glyph;
gb.active = 0; /* BEGIN_GLYPH */
gb.width = 0;