comparison src/view_file_list.c @ 334:df868b947aa0

Rename image-related options.
author zas_
date Sat, 12 Apr 2008 15:04:58 +0000
parents 767b53cd9ab7
children 15c6b94545a2
comparison
equal deleted inserted replaced
333:767b53cd9ab7 334:df868b947aa0
846 if (sel_fd == cur_fd) return; /* no change */ 846 if (sel_fd == cur_fd) return; /* no change */
847 847
848 row = g_list_index(vfl->list, sel_fd); 848 row = g_list_index(vfl->list, sel_fd);
849 // FIXME sidecar data 849 // FIXME sidecar data
850 850
851 if (sel_fd && options->enable_read_ahead && row >= 0) 851 if (sel_fd && options->image.enable_read_ahead && row >= 0)
852 { 852 {
853 if (row > g_list_index(vfl->list, cur_fd) && 853 if (row > g_list_index(vfl->list, cur_fd) &&
854 row + 1 < vflist_count(vfl, NULL)) 854 row + 1 < vflist_count(vfl, NULL))
855 { 855 {
856 read_ahead_fd = vflist_index_get_data(vfl, row + 1); 856 read_ahead_fd = vflist_index_get_data(vfl, row + 1);