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 prices for commodity work again
[ypp-sc-tools.db-live.git]
/
yarrg
/
convert.c
diff --git
a/yarrg/convert.c
b/yarrg/convert.c
index 555eefe0274c4300ecbdcab8da5b91c9e6c2c508..76a9a7af96ac18c97d0e941496ff2b495551d182 100644
(file)
--- a/
yarrg/convert.c
+++ b/
yarrg/convert.c
@@
-94,7
+94,7
@@
static void run_analysis(void) {
analyse(tf);
if (o_flags & ff_upload) {
- if (
npages<=1
)
+ if (
o_flags & ff_singlepage
)
fatal("Recognition successful, but refusing to upload partial data\n"
" (--single-page specified). Specify an output mode?");
}