From: Ian Jackson Date: Sat, 6 Jun 2009 19:46:22 +0000 (+0100) Subject: add a brace to make it easier to add debug stuff X-Git-Tag: 1.9.2~162 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=75979fe69d99518d9f79d45fb52eb76e05f58053;hp=2ca58afcdf02d87e31115110ecd6c83ecc5dabc7 add a brace to make it easier to add debug stuff --- diff --git a/pctb/structure.h b/pctb/structure.h index b246c87..c6a8c9a 100644 --- 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; \ - 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 (DEBUGP(rect)) { \ fprintf(debug, "%4d ",y); \