[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crash in the cvs head build of Feb 13 08:40
From: |
Richard M. Stallman |
Subject: |
Re: crash in the cvs head build of Feb 13 08:40 |
Date: |
Sun, 19 Feb 2006 12:45:43 -0500 |
In this case I think it is better to be less defensive
and stick more clearly to the rules from which the code was written.
Does this patch fix the bug?
*** xmenu.c 07 Feb 2006 18:13:41 -0500 1.299
--- xmenu.c 19 Feb 2006 11:46:11 -0500
***************
*** 1807,1814 ****
wv->enabled = 1;
wv->button_type = BUTTON_TYPE_NONE;
wv->help = Qnil;
}
! save_wv = wv;
prev_wv = 0;
i += MENU_ITEMS_PANE_LENGTH;
}
--- 1807,1817 ----
wv->enabled = 1;
wv->button_type = BUTTON_TYPE_NONE;
wv->help = Qnil;
+ save_wv = wv;
}
! else
! save_wv = first_wv;
!
prev_wv = 0;
i += MENU_ITEMS_PANE_LENGTH;
}