]> granicus.if.org Git - graphviz/commit
Fix incorrect assignment in gvCloneGVC function
authorErwin Janssen <erwinjanssen@outlook.com>
Sat, 7 Jan 2017 18:19:40 +0000 (19:19 +0100)
committerErwin Janssen <erwinjanssen@outlook.com>
Tue, 17 Jan 2017 18:14:54 +0000 (19:14 +0100)
commit8dda2d7cbe30d786ca67015290de6bb112e8ebb4
treebbae8134aba37e98f393b4750b7e865d716e627f
parent1ef7b1f762ac3147daf2a41f2072687abc6d6945
Fix incorrect assignment in gvCloneGVC function

The function `gvCloneGVC` creates a new `GVC_t` object and copies the values
from gvc0 to gvc. In the last assignment, gvc->packages is given the value
of itself: gvc->pckages. This should be gvc0 instead.
lib/gvc/gvcontext.c