Skip to content

Commit ec691a8

Browse files
committed
Fix a precedence bug in PathClipper
1 parent 3127158 commit ec691a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/path_converters.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ class PathClipper
382382
return code;
383383
}
384384
}
385-
else if (code == agg::path_cmd_end_poly | agg::path_flags_close
385+
else if (code == (agg::path_cmd_end_poly | agg::path_flags_close)
386386
&& m_broke_path && m_has_init)
387387
{
388388
*x = m_initX;

0 commit comments

Comments
 (0)