1999-01-01 Miguel de Icaza <miguel@nuclecu.unam.mx>

* gscreen.c (panel_fill_panel_list): Assertion that will pin point
	if a CList gets out of sync with the panel->format.

1999-01-01  Momchil 'Velco' Velikov <velco@fadata.bg>

	* gscreen.c (panel_fill_panel_list): NULL terminate the column
	array.  This is strange, as it should not need the ending NULL.

1999-01-01  Jonathan Blandford  <jrb@redhat.com>
This commit is contained in:
Miguel de Icaza 1999-01-02 02:21:14 +00:00
parent 7d18cb2d83
commit 597881b50f
2 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,13 @@
1999-01-01 Miguel de Icaza <miguel@nuclecu.unam.mx>
* gscreen.c (panel_fill_panel_list): Assertion that will pin point
if a CList gets out of sync with the panel->format.
1999-01-01 Momchil 'Velco' Velikov <velco@fadata.bg>
* gscreen.c (panel_fill_panel_list): NULL terminate the column
array. This is strange, as it should not need the ending NULL.
1999-01-01 Jonathan Blandford <jrb@redhat.com>
* gcmd.c ((GtkWidget *widget, WPanel *panel): Now hooked up

View File

@ -163,7 +163,7 @@ panel_fill_panel_list (WPanel *panel)
int i, col, type_col, color;
char **texts;
texts = malloc (sizeof (char *) * items);
texts = malloc (sizeof (char *) * (items+1));
gtk_clist_freeze (GTK_CLIST (cl));
gtk_clist_clear (GTK_CLIST (cl));
@ -171,6 +171,9 @@ panel_fill_panel_list (WPanel *panel)
/* which column holds the type information */
type_col = -1;
g_assert (items == GTK_CLIST (cl->columns));
texts [items] = NULL;
for (i = 0; i < top; i++){
file_entry *fe = &panel->dir.list [i];
format_e *format = panel->format;