Re: Crash on hexediting empty file



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.

Roland



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]