From 8b3713607feb7e050391cf7cce80852de12b7730 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 10 Sep 2009 16:48:25 +0100 Subject: [PATCH] Do not attempt (and fail due to safety catch) to update reject dict if --dict-no-update --- yarrg/ocr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yarrg/ocr.c b/yarrg/ocr.c index 92b0903..08bc60c 100644 --- a/yarrg/ocr.c +++ b/yarrg/ocr.c @@ -279,7 +279,8 @@ static int should_reject(OcrReader *rd) { int ovector[30]; if (!rejections_loaded) { - fetch_with_rsync("reject"); + if (o_flags & ff_dict_fetch) + fetch_with_rsync("reject"); load_rejections("master"); load_rejections("local"); rejections_loaded=1; -- 2.30.2