Complex sentence: Special attention has been given to safety and ergonomic details and to prevent accidental firing when the gun is dropped or bumped.
Split into simpler sentences: Special attention has been given to safety and ergonomic details. To prevent accidental firing when the gun is dropped or bumped.