chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix space handling
[ypp-sc-tools.web-live.git]
/
pctb
/
convert.c
diff --git
a/pctb/convert.c
b/pctb/convert.c
index c8082e697cea3ff4f70b26c1e1d24c9e72e2eafc..163f81448882a632980e5a6b6db1db7a778607a1 100644
(file)
--- 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));