chiark / gitweb /
fix space handling
[ypp-sc-tools.web-live.git] / pctb / convert.c
index c8082e697cea3ff4f70b26c1e1d24c9e72e2eafc..163f81448882a632980e5a6b6db1db7a778607a1 100644 (file)
@@ -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));