Index: joe-4.0/joe/bw.c =================================================================== --- joe-4.0.orig/joe/bw.c +++ joe-4.0/joe/bw.c @@ -206,6 +206,7 @@ HIGHLIGHT_STATE get_highlight_state(BW * #ifdef junk P *tmp = 0; HIGHLIGHT_STATE state; + memset((void*)&state,0,sizeof(HIGHLIGHT_STATE)); /* Screen y position of requested line */ int y = line-w->top->line+w->y;