comparison src/view_file.c @ 1412:5a534e1501e1

fixed saving of file_view_type
author nadvornik
date Tue, 10 Mar 2009 22:52:12 +0000
parents a0bd58a6535f
children cf4029d10d38
comparison
equal deleted inserted replaced
1411:2ebf1a80ef64 1412:5a534e1501e1
442 { 442 {
443 ViewFile *vf = data; 443 ViewFile *vf = data;
444 444
445 if (!vf->layout) return; 445 if (!vf->layout) return;
446 446
447 switch (vf->layout->file_view_type) 447 switch (vf->type)
448 { 448 {
449 case FILEVIEW_LIST: 449 case FILEVIEW_LIST:
450 layout_views_set(vf->layout, vf->layout->options.dir_view_type, FILEVIEW_ICON); 450 layout_views_set(vf->layout, vf->layout->options.dir_view_type, FILEVIEW_ICON);
451 break; 451 break;
452 case FILEVIEW_ICON: 452 case FILEVIEW_ICON: