chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Recognise single page even with --same
[ypp-sc-tools.web-live.git]
/
pctb
/
convert.c
diff --git
a/pctb/convert.c
b/pctb/convert.c
index f3b87fea193de43d825417e706ec0ecad1175404..89115481d1488a9d929509b5a16f90296eff14e0 100644
(file)
--- a/
pctb/convert.c
+++ b/
pctb/convert.c
@@
-92,7
+92,7
@@
static void run_analysis(void) {
analyse(tf);
if (o_flags & ff_upload) {
- if (
o_flags & ff_singlepage
)
+ if (
npages<=1
)
fatal("Recognition successful, but refusing to upload partial data\n"
" (--single-page specified). Specify an output mode?");
}