projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f6785e
)
fix crash on unknown shape - reported by Ryan Schmidt
author
ellson
<devnull@localhost>
Wed, 21 Jun 2006 13:31:28 +0000
(13:31 +0000)
committer
ellson
<devnull@localhost>
Wed, 21 Jun 2006 13:31:28 +0000
(13:31 +0000)
lib/gvc/gvusershape.c
patch
|
blob
|
history
diff --git
a/lib/gvc/gvusershape.c
b/lib/gvc/gvusershape.c
index b15c84ef3197a2f47daa15a221e8763aca168882..4317b8031f1a6cc34246aadef0ab65024b5b0350 100644
(file)
--- a/
lib/gvc/gvusershape.c
+++ b/
lib/gvc/gvusershape.c
@@
-266,6
+266,9
@@
usershape_t *gvusershape_find(char *name)
{
usershape_t probe;
+ if (!ImageDict)
+ return NULL;
+
probe.name = name;
return (dtsearch(ImageDict, &probe));
}