]> granicus.if.org Git - graphviz/commit
Quartz: format to UTI through function instead of array
authorGlen Low <glen.low@pixelglow.com>
Thu, 5 Dec 2013 14:33:19 +0000 (22:33 +0800)
committerGlen Low <glen.low@pixelglow.com>
Thu, 5 Dec 2013 15:00:05 +0000 (23:00 +0800)
commita6880c8d026919a39efb6dddfde45b1987a28dd7
tree35db834789558eba7bb36fd2e4a1fc0f06600ba5
parent682d3356245c987bf0981917208f883220c4c213
Quartz: format to UTI through function instead of array

* Function is safer: non-existent format won't crash

* Function is better encapsulated: strings not exposed in header
plugin/quartz/gvdevice_quartz.c
plugin/quartz/gvloadimage_quartz.c
plugin/quartz/gvplugin_quartz.c
plugin/quartz/gvplugin_quartz.h
plugin/quartz/gvrender_quartz.c