chiark / gitweb /
website: new client has implications for devel page too
[ypp-sc-tools.db-test.git] / yarrg / ocr.c
index 92b09031c5c53ccde0029c0b7a26343db68645c6..e373fbc6dd924b7e4586bafc9279a4fadd046932 100644 (file)
@@ -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;