chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make --edit-charset the default if there are some already
[ypp-sc-tools.db-live.git]
/
pctb
/
ocr.c
diff --git
a/pctb/ocr.c
b/pctb/ocr.c
index bbdbedc3b0c14631fd82fa7875a9970eba23bcd3..47597828c5f0091f1b5dce2e1592bb2e82aa4da6 100644
(file)
--- a/
pctb/ocr.c
+++ b/
pctb/ocr.c
@@
-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"));