summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-09-08 01:04:29 -0300
committerWerner Almesberger <werner@almesberger.net>2016-09-08 01:04:29 -0300
commit1dafa964313fd0d2b8beac13797685efba93e37a (patch)
tree2c35e2cba1e7510308acb44dc55dd23d8a9bf8fe /gui
parent9b22ef7b4c58d36ae0ea01847323a691d7a7e192 (diff)
downloadeeshow-1dafa964313fd0d2b8beac13797685efba93e37a.tar.gz
eeshow-1dafa964313fd0d2b8beac13797685efba93e37a.tar.bz2
eeshow-1dafa964313fd0d2b8beac13797685efba93e37a.zip
gui/gui.c (parse_files): don't reject revision just because of missing libraries
Diffstat (limited to 'gui')
-rw-r--r--gui/gui.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gui/gui.c b/gui/gui.c
index 00ce8a1..47860af 100644
--- a/gui/gui.c
+++ b/gui/gui.c
@@ -265,10 +265,11 @@ static const struct sheet *parse_files(struct gui_hist *hist,
struct file lib_files[fn->n_libs];
lib_init(&hist->lib);
- for (libs_open = 0; libs_open != fn->n_libs; libs_open++)
- if (!lib_find_file(lib_files + libs_open, fn->libs[libs_open],
+ libs_open = 0;
+ for (i = 0; i != fn->n_libs; i++)
+ if (lib_find_file(lib_files + libs_open, fn->libs[libs_open],
fn, leader))
- goto fail;
+ libs_open++;
hist->pl = pl_parse_search(fn->pl, leader);
/*