From 2c6eeb55b7339bf639ab93826446ffb4390e8f78 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 3 Jul 2009 20:33:35 +0100 Subject: [PATCH] Recognise single page even with --same --- pctb/convert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pctb/convert.c b/pctb/convert.c index f3b87fe..8911548 100644 --- 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?"); } -- 2.30.2