mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
[hvgl/transforms] Add a likely()
This commit is contained in:
1 parent
95a3b95a3e
commit
d65ec49177
1 file changed
+1
-1
@@ -595,7 +595,7 @@ PartComposite::get_path_at (const hb_hvgl_context_t *c,
|
||||
{
|
||||
auto &this_transform = transforms_tail[subPart.treeTransformIndex];
|
||||
|
||||
if (this_transform.is_translation ())
|
||||
if (likely (this_transform.is_translation ()))
|
||||
{
|
||||
double dx = this_transform.x0;
|
||||
double dy = this_transform.y0;
|
||||
|
||||
Reference in new issue
Block a user