diff src/rcfile.c @ 433:5ddcf93278c7

Save Show Marks state to rc file and display current state in menu. It is saved as boolean option layout.show_marks.
author zas_
date Sat, 19 Apr 2008 21:30:19 +0000
parents 9e521adbf312
children 4b2d7f9af171
line wrap: on
line diff
--- a/src/rcfile.c	Sat Apr 19 21:20:08 2008 +0000
+++ b/src/rcfile.c	Sat Apr 19 21:30:19 2008 +0000
@@ -337,6 +337,7 @@
 	WRITE_CHAR(layout.order);
 	WRITE_BOOL(layout.view_as_icons);
 	WRITE_UINT(layout.dir_view_type);
+	WRITE_BOOL(layout.show_marks);
 	WRITE_BOOL(layout.show_thumbnails);
 	WRITE_SEPARATOR();
 
@@ -617,6 +618,7 @@
 		READ_CHAR(layout.order);
 		READ_BOOL(layout.view_as_icons);
 		READ_UINT(layout.dir_view_type);
+		READ_BOOL(layout.show_marks);
 		READ_BOOL(layout.show_thumbnails);
 
 		/* window positions */