Handle the case of reduction of the number of view directory types.
authorLaurent Monin <geeqie@norz.org>
Fri, 25 Apr 2008 08:07:22 +0000 (08:07 +0000)
committerLaurent Monin <geeqie@norz.org>
Fri, 25 Apr 2008 08:07:22 +0000 (08:07 +0000)
commit74182a124ee9eca4d76d2e4da9b690dea61a651e
treef564a6b31dc2e2cc1d4217b98a04691f47421b1d
parent856f0b26d9bd498c8e093e75c5a7f7b5bdb8238f
Handle the case of reduction of the number of view directory types.
Previously it was leading to a segfault.
src/layout.c
src/layout_util.c
src/view_dir.c
src/view_dir.h