if( !p_range_current || !p_range_current->p_pic )
goto error;
+ p_range_current->i_x = i_x;
+ p_range_current->i_y = i_y;
+
/* increment the number of ranges for this button */
p_up->i_ranges++;
if( !p_range_current || !p_range_current->p_pic )
goto error;
+ p_range_current->i_x = i_x;
+ p_range_current->i_y = i_y;
+
/* increment the number of ranges for this button */
p_current->i_ranges++;
if( !p_state_current || !p_state_current->p_pic )
goto error;
+ p_state_current->i_x = i_x;
+ p_state_current->i_y = i_y;
+
if( p_state_prev )
p_state_prev->p_next = p_state_current;
else