Return a value for MUIA_Pendisplay_RGBcolor if the penspec directly
commit54310b3e949486e059fd661774064f5d617ef83f
authorneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 11 Sep 2015 19:34:32 +0000 (11 19:34 +0000)
committerneil <neil@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Fri, 11 Sep 2015 19:34:32 +0000 (11 19:34 +0000)
treeb861f28fff6b338f5c6db8c47fe0cbd1207da375
parentdf3d11949a0c05aa1f8bf6bc18e59f2f79bc43ff
Return a value for MUIA_Pendisplay_RGBcolor if the penspec directly
specifies an RGB colour, even if a pen hasn't been chosen yet. This avoids a
crash when the Imageadjust class queries this attribute from its Poppen
objects before they have been displayed.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@51086 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/libs/muimaster/classes/pendisplay.c