diff 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
line wrap: on
line diff
--- a/src/view_file.c	Tue Mar 10 17:58:30 2009 +0000
+++ b/src/view_file.c	Tue Mar 10 22:52:12 2009 +0000
@@ -444,7 +444,7 @@
 	
 	if (!vf->layout) return;
 
-	switch (vf->layout->file_view_type)
+	switch (vf->type)
 	{
 	case FILEVIEW_LIST:
 		layout_views_set(vf->layout, vf->layout->options.dir_view_type, FILEVIEW_ICON);