chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unclear UI bug report
[ypp-sc-tools.main.git]
/
yarrg
/
convert.c
diff --git
a/yarrg/convert.c
b/yarrg/convert.c
index 555eefe0274c4300ecbdcab8da5b91c9e6c2c508..4ba23b514d45a6363ab6336c9a37dcd3daed63a6 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) {
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?");
}
fatal("Recognition successful, but refusing to upload partial data\n"
" (--single-page specified). Specify an output mode?");
}
@@
-332,7
+332,7
@@
int main(int argc, char **argv) {
o_serv_yarrg, o_flags & ff_use_yarrg);
set_server("YPPSC_YARRG_PCTB",
o_serv_yarrg, o_flags & ff_use_yarrg);
set_server("YPPSC_YARRG_PCTB",
- "http://", "pctb.
ilk.org" /*pctb.crabdance.com*/
,
+ "http://", "pctb.
crabdance.com"
,
"pctb.ilk.org",
o_serv_pctb, o_flags & ff_use_pctb);
"pctb.ilk.org",
o_serv_pctb, o_flags & ff_use_pctb);