chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a brace to make it easier to add debug stuff
[ypp-sc-tools.db-test.git]
/
pctb
/
structure.h
diff --git
a/pctb/structure.h
b/pctb/structure.h
index b246c87ba2acf20579998ea13532116fbc644bc7..c6a8c9a9280a909a3dd296df2ad39551f93b1b01 100644
(file)
--- a/
pctb/structure.h
+++ b/
pctb/structure.h
@@
-32,11
+32,12
@@
CanonImage *alloc_canon_image(int w, int h);
const CanonColourInfo *cci; \
unsigned long rgb; \
COMPUTE_RGB; \
const CanonColourInfo *cci; \
unsigned long rgb; \
COMPUTE_RGB; \
- for (cci=canoncolourinfos; cci->c; cci++)
\
+ for (cci=canoncolourinfos; cci->c; cci++)
{
\
if (cci->rgb == rgb) { \
(im)->d[y*(w) + x]= cci->c; \
break; \
} \
if (cci->rgb == rgb) { \
(im)->d[y*(w) + x]= cci->c; \
break; \
} \
+ } \
} \
if (DEBUGP(rect)) { \
fprintf(debug, "%4d ",y); \
} \
if (DEBUGP(rect)) { \
fprintf(debug, "%4d ",y); \