chiark / gitweb /
make --edit-charset the default if there are some already
[ypp-sc-tools.db-live.git] / pctb / ocr.c
index bbdbedc3b0c14631fd82fa7875a9970eba23bcd3..47597828c5f0091f1b5dce2e1592bb2e82aa4da6 100644 (file)
@@ -126,6 +126,9 @@ static void readdb1(OcrReader *rd, const char *which, int local) {
   if (!dbfile_open(dbfname))
     goto x;
 
+  if (local)
+    o_flags |= ff_charset_havelocal;
+
   FGETSLINE;
   dbassert(!strcmp(lbuf,"# ypp-sc-tools pctb font v2"));