Skip to content

gsktransform: Fixes crash in normalize_angle

Leonard Schwennesen requested to merge Ungedummt/gtk:normalize_angle_fix into master

If passing a NaN into normalize_angle it crashes.

The fix is simply to check if the angle is NaN and than return 0. The expression angle != angle is only true if angle is NaN.

Fixes #4489

Merge request reports