[AdgPoint] Guard agains not found named pairs
commit0756c0706dc938439348ce1e7f4bb394dc619d79
authorNicola Fontana <ntd@entidi.it>
Thu, 15 Oct 2009 17:43:29 +0000 (15 19:43 +0200)
committerNicola Fontana <ntd@entidi.it>
Thu, 15 Oct 2009 17:43:29 +0000 (15 19:43 +0200)
tree85f5ee43641c44025f747230f1ba39c2f03d1216
parent0afdece12c595ee6001b41aa9d9fab4dd72f3ffd
[AdgPoint] Guard agains not found named pairs

Check if a named pair exixts before getting the AdgPair coordinates:
this avoids segmentation faults when an inexisten named pair is used.
adg/adg-point.c