chiark / gitweb /
make --edit-charset required again
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Tue, 30 Jun 2009 18:51:24 +0000 (19:51 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Tue, 30 Jun 2009 18:51:24 +0000 (19:51 +0100)
pctb/ocr.c

index 7655659..1f315c8 100644 (file)
@@ -223,7 +223,7 @@ static void callout_unknown(OcrReader *rd, int w, Pixcol cols[],
   Pixcol pv;
 
   FILE *resolver= resolve_start();
-  if (!resolver)
+  if (!resolver || !(o_flags & ff_editcharset))
     fatal("OCR failed - unrecognised characters or ligatures.\n"
          "Character set database needs to be updated or augmented.\n"
          "See README.charset.\n");