From 75979fe69d99518d9f79d45fb52eb76e05f58053 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jun 2009 20:46:22 +0100 Subject: [PATCH] add a brace to make it easier to add debug stuff --- pctb/structure.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); \ -- 2.30.2