Crash on hexediting empty file

Pavel Tsekov ptsekov at gmx.net
Fri Feb 3 12:19:13 UTC 2006


On Fri, 3 Feb 2006, Roland Illig wrote:

> Pavel Tsekov wrote:
> > Index: src/view.c
> > ===================================================================
> > RCS file: /cvsroot/mc/mc/src/view.c,v
> > retrieving revision 1.353
> > diff -u -p -r1.353 view.c
> > --- src/view.c	1 Feb 2006 15:59:21 -0000	1.353
> > +++ src/view.c	2 Feb 2006 08:49:45 -0000
> > @@ -2901,7 +2901,7 @@ view_labels (WView *view)
> >  	    my_define (h, 2, Q_("ButtonBar|Edit"),
> >  		view_toggle_hexedit_mode_cmd, view);
> >  	} else {
> > -	    my_define (h, 2, "", NULL, view);
> > +	    buttonbar_clear_label (h, 2);
>
> Looks great. Please commit.

Done.




More information about the mc-devel mailing list