@@ -737,7 +737,7 @@ bool MCBitmapEffectsGetProperty(MCExecContext& ctxt, MCBitmapEffectsRef& self, M
737737 MCAutoValueRef t_valueref;
738738 // Fetch the property, then store it into the array.
739739 MCBitmapEffectFetchProperty (ctxt, t_effect, s_bitmap_effect_properties[i] . value, t_value);
740- MCExecTypeConvertAndReleaseAlways (ctxt, t_value . type, &t_value . type + 1 , kMCExecValueTypeValueRef , &(&t_valueref));
740+ MCExecTypeConvertAndReleaseAlways (ctxt, t_value . type, &t_value , kMCExecValueTypeValueRef , &(&t_valueref));
741741 MCArrayStoreValue (*v, ctxt . GetCaseSensitive (), MCNAME (s_bitmap_effect_properties[i] . token), *t_valueref);
742742 }
743743 }
@@ -906,7 +906,7 @@ static void MCBitmapEffectStoreProperty(MCExecContext& ctxt, MCBitmapEffect& x_e
906906 case kMCBitmapEffectPropertyColor :
907907 {
908908 MCColor t_color;
909- MCExecTypeConvertAndReleaseAlways (ctxt, p_value . type, &p_value . type + 1 , kMCExecValueTypeColor , &t_color);
909+ MCExecTypeConvertAndReleaseAlways (ctxt, p_value . type, &p_value , kMCExecValueTypeColor , &t_color);
910910 MCBitmapEffectsSetColorProperty (x_effect, p_prop, t_color, r_dirty);
911911 }
912912 break ;
@@ -922,7 +922,7 @@ static void MCBitmapEffectStoreProperty(MCExecContext& ctxt, MCBitmapEffect& x_e
922922 case kMCBitmapEffectPropertyAngle :
923923 {
924924 uinteger_t t_value;
925- MCExecTypeConvertAndReleaseAlways (ctxt, p_value . type, &p_value . type + 1 , kMCExecValueTypeUInt , &t_value);
925+ MCExecTypeConvertAndReleaseAlways (ctxt, p_value . type, &p_value , kMCExecValueTypeUInt , &t_value);
926926 MCBitmapEffectsSetUIntProperty (x_effect, p_prop, p_value . uint_value, r_dirty);
927927 }
928928 break ;
@@ -989,7 +989,7 @@ bool MCBitmapEffectsSetProperty(MCExecContext& ctxt, MCBitmapEffectsRef& self, M
989989 bool t_dirty_array;
990990 t_dirty_array = false ;
991991 MCAutoArrayRef t_array;
992- MCExecTypeConvertAndReleaseAlways (ctxt, p_value . type, &p_value . type + 1 , kMCExecValueTypeArrayRef , &(&t_array));
992+ MCExecTypeConvertAndReleaseAlways (ctxt, p_value . type, &p_value , kMCExecValueTypeArrayRef , &(&t_array));
993993 // Loop through all the properties in the table and apply the relevant
994994 // ones.
995995 for (uint32_t i = 0 ; i < ELEMENTS (s_bitmap_effect_properties); i++)
0 commit comments