X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Focr.c;h=e373fbc6dd924b7e4586bafc9279a4fadd046932;hp=92b09031c5c53ccde0029c0b7a26343db68645c6;hb=683d7344fb6dc8c5b98263e648e46087e5fe91f1;hpb=c68fb80a6bbf7acbcac4b2cb2143f5fea745cd2b diff --git a/yarrg/ocr.c b/yarrg/ocr.c index 92b0903..e373fbc 100644 --- a/yarrg/ocr.c +++ b/yarrg/ocr.c @@ -25,7 +25,6 @@ * sponsored by Three Rings. */ -#include "ocr.h" #include "convert.h" typedef struct { @@ -279,7 +278,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;