• Jeffrey Lee's avatar
    Fix slider_set_bounds, slider_get_bounds parameter order · 005a1936
    Jeffrey Lee authored
    Detail:
      toolboxlib/h/gadgets, toolboxlib/sources/slider/c/getbound, toolbloxlib/sources/slider/c/setbound - The slider_set_bounds and slider_get_bounds functions were passing the upper and lower bounds to the toolbox SWIs in the wrong order, causing the bounds to be inverted.
      By swapping the order in which the parameters are passed to the SWIs, and swapping the order of the parameters in the function declarations, the parameters are now passed through in the correct order, without breaking any existing code.
      Additionally, the parameter order of the functions now matches the register order of the underlying SWIs.
    Admin:
      Tested briefly
    
    
    Version 0.21. Tagged as 'Libs-0_21'
    005a1936
getbound 2.76 KB