2015-10-04 22:57:00 +02:00
|
|
|
---
|
|
|
|
joe/bw.c | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
Index: joe-4.1/joe/bw.c
|
2015-07-08 09:36:46 +02:00
|
|
|
===================================================================
|
2015-10-04 22:57:00 +02:00
|
|
|
--- joe-4.1.orig/joe/bw.c
|
|
|
|
+++ joe-4.1/joe/bw.c
|
|
|
|
@@ -178,6 +178,7 @@ void bwfllw(W *w)
|
|
|
|
static HIGHLIGHT_STATE get_highlight_state(BW *w, P *p, off_t line)
|
|
|
|
{
|
2007-01-16 00:19:02 +01:00
|
|
|
HIGHLIGHT_STATE state;
|
2015-10-04 22:57:00 +02:00
|
|
|
+ memset((void *)&state, 0, sizeof(HIGHLIGHT_STATE));
|
2007-01-16 00:19:02 +01:00
|
|
|
|
2015-10-04 22:57:00 +02:00
|
|
|
if(!w->o.highlight || !w->o.syntax) {
|
|
|
|
invalidate_state(&state);
|