void panel_do_cols (int index) { if (get_display_type (index) == view_listing) set_panel_formats ((WPanel *) panels [index].widget); else { panel_update_cols (panels [index].widget, frame_half); } }
static void panel_do_cols (int idx) { if (get_display_type (idx) == view_listing) set_panel_formats (PANEL (panels[idx].widget)); else panel_update_cols (panels[idx].widget, frame_half); }
static void panel_do_cols (int index) { /* Only one panel at the moment */ index=0; if (get_display_type (index) == view_listing) set_panel_formats ((WPanel *) panels [index].widget); else { panel_update_cols (panels [index].widget, frame_half); /* In case of an Hex Quick View must review line length */ if (get_display_type (index) == view_quick) view_update_bytes_per_line ((WView *) panels [index].widget); } }