17 lines
431 B
Diff
17 lines
431 B
Diff
|
---
|
||
|
joe/bw.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
Index: joe/bw.c
|
||
|
===================================================================
|
||
|
--- joe/bw.c.orig
|
||
|
+++ joe/bw.c
|
||
|
@@ -231,6 +231,7 @@ void bwfllw(W *w)
|
||
|
static HIGHLIGHT_STATE get_highlight_state(BW *w, P *p, off_t line)
|
||
|
{
|
||
|
HIGHLIGHT_STATE state;
|
||
|
+ memset((void *)&state, 0, sizeof(HIGHLIGHT_STATE));
|
||
|
|
||
|
if(!w->o.highlight || !w->o.syntax) {
|
||
|
invalidate_state(&state);
|