• Robert Sprowson's avatar
    Fix for NULL pointer read on drag start · 3b247281
    Robert Sprowson authored
    The call to cnp_drag_restart_dragbox() needs the window member of current_drag_op set up, but was being used before it's set.
    Since the struct is memset to 0 before use, don't bother with the static initialiser.
    
    Version 2.37. Tagged as 'Paint-2_37'
    3b247281