#include "config.h"
+#include <stdbool.h>
#include <string.h>
#include <ctype.h>
#include <locale.h>
}
}
-static boolean edge_in_box(edge_t *e, boxf b)
+static bool edge_in_box(edge_t *e, boxf b)
{
splines *spl;
textlabel_t *lp;
spl = ED_spl(e);
if (spl && boxf_overlap(spl->bb, b))
- return TRUE;
+ return true;
lp = ED_label(e);
if (lp && overlap_label(lp, b))
- return TRUE;
+ return true;
lp = ED_xlabel(e);
if (lp && lp->set && overlap_label(lp, b))
- return TRUE;
+ return true;
- return FALSE;
+ return false;
}
static void emit_begin_edge(GVJ_t * job, edge_t * e, char** styles)