Is this copy-pasta error in hashlink sdl.c or intentional?

mouseX is assigned from button.x and mouseY from motion.y?

From my tests it seems they are ok, the coordinates I’m getting are ok, just curious if there’s a reason behind this or is it just a copy-pasta error…