SHA256
1
0
forked from pool/joe
joe/joe-3.3-warnings.patch
Martin Pluskal 3573c62560 Accepting request 653514 from home:SchoolGuy:branches:editors
- Add Patch joe-4.6-fix_return_in_main.patch: When using older versions of gcc,
  it throws an error because main does not return always a value.
- Add Patch joe-4.6-desktop_files.patch: Desktop Category was wrong.
- Update to version 4.6
- Update to version 4.5

OBS-URL: https://build.opensuse.org/request/show/653514
OBS-URL: https://build.opensuse.org/package/show/editors/joe?expand=0&rev=30
2018-12-03 08:39:00 +00:00

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);