9c5becbb93
- Update to new upstream release 4.1 OBS-URL: https://build.opensuse.org/request/show/336335 OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=24
17 lines
455 B
Diff
17 lines
455 B
Diff
---
|
|
joe/bw.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
Index: joe-4.1/joe/bw.c
|
|
===================================================================
|
|
--- 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)
|
|
{
|
|
HIGHLIGHT_STATE state;
|
|
+ memset((void *)&state, 0, sizeof(HIGHLIGHT_STATE));
|
|
|
|
if(!w->o.highlight || !w->o.syntax) {
|
|
invalidate_state(&state);
|