projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b1d9e
)
emit_edge_label: remove unnecessary bracketing
author
Matthew Fernandez
<matthew.fernandez@gmail.com>
Mon, 30 Aug 2021 00:26:17 +0000
(17:26 -0700)
committer
Matthew Fernandez
<matthew.fernandez@gmail.com>
Sat, 4 Sep 2021 02:31:58 +0000
(19:31 -0700)
lib/common/emit.c
patch
|
blob
|
history
diff --git
a/lib/common/emit.c
b/lib/common/emit.c
index f08a296cb129c2b32efbe3201211b7e444dbef12..48e9204423fd078da9ad2f6eb66f5c1a3cab7af1 100644
(file)
--- a/
lib/common/emit.c
+++ b/
lib/common/emit.c
@@
-2678,7
+2678,7
@@
emit_edge_label(GVJ_t* job, textlabel_t* lbl, emit_state_t lkind, int explicit,
char* newid;
char* type;
- if (
(lbl == NULL) || !(lbl->set)
) return;
+ if (
lbl == NULL || !lbl->set
) return;
if (id) { /* non-NULL if needed */
newid = N_NEW(strlen(id) + sizeof("-headlabel"),char);
switch (lkind) {