mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
[draw] Simplify start_path
This commit is contained in:
1 parent
1740916ede
commit
86fcd4fe98
1 file changed
+1
-1
+1
-1
@@ -164,7 +164,7 @@ struct draw_helper_t
|
||||
|
||||
void start_path ()
|
||||
{
|
||||
if (st.path_open) end_path ();
|
||||
assert (!st.path_open);
|
||||
st.path_open = true;
|
||||
funcs->move_to (draw_data, st.path_start_x, st.path_start_y);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user