Index: polyhelp.c =================================================================== --- polyhelp.c (revision 31010) +++ polyhelp.c (revision 31011) @@ -108,10 +108,10 @@ do { n = v->next; if ((v->point[0] != n->point[0]) && (v->point[1] != n->point[1])) - return pcb_false; + return rnd_false; } while((v = v->next) != src->head); - return pcb_true; + return rnd_true; } @@ -118,9 +118,9 @@ rnd_bool pcb_cpoly_is_simple_rect(const pcb_poly_t *p) { if (p->Clipped->f != p->Clipped) - return pcb_false; /* more than one islands */ + return rnd_false; /* more than one islands */ if (p->Clipped->contours->next != NULL) - return pcb_false; /* has holes */ + return rnd_false; /* has holes */ return pcb_pline_is_rectangle(p->Clipped->contours); } @@ -411,7 +411,7 @@ RND_DAD_BUTTON_CLOSES(dlg, clbtn); RND_DAD_END(dlg); - RND_DAD_NEW("poly_hatch", dlg, "Polygon hatch", NULL, pcb_true, NULL); + RND_DAD_NEW("poly_hatch", dlg, "Polygon hatch", NULL, rnd_true, NULL); if (RND_DAD_RUN(dlg) != 0) { /* cancel */ RND_DAD_FREE(dlg); Index: topoly.c =================================================================== --- topoly.c (revision 31010) +++ topoly.c (revision 31011) @@ -239,7 +239,7 @@ pcb_poly_init_clip(pcb->Data, layer, poly); pcb_poly_invalidate_draw(layer, poly); TODO(": use pcb_board_set_changed_flag(), but decouple that from PCB") - pcb->Changed = pcb_true; + pcb->Changed = rnd_true; } return poly;