X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=pctb%2Fconvert.c;h=163f81448882a632980e5a6b6db1db7a778607a1;hb=cd6a4f773c32f73aff27f97e8994c6b7c1019bb7;hp=c8082e697cea3ff4f70b26c1e1d24c9e72e2eafc;hpb=a7c52a5cdad0b1a4c4e053992858674e8d7953a7;p=ypp-sc-tools.main.git diff --git a/pctb/convert.c b/pctb/convert.c index c8082e6..163f814 100644 --- a/pctb/convert.c +++ b/pctb/convert.c @@ -257,7 +257,7 @@ static void ocr_rectangle(Rect r) { results= ocr(w,h,cols); printf("YES! \""); - for (res=0; res->s; res++) + for (res=results; res->s; res++) printf("%s",res->s); printf("\"\n"); eassert(!ferror(stdout));