mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 23:11:04 +01:00
Fix -Wdouble-promotion warnings
Fixes https://github.com/harfbuzz/harfbuzz/issues/5785
This commit is contained in:
1 parent
381b5d7cd4
commit
4191cf20c0
1 file changed
+4
-4
@@ -394,10 +394,10 @@ struct vector_output_t : output_options_t<>, view_options_t
|
||||
if (y2 <= y1)
|
||||
y2 = y1 + 1;
|
||||
|
||||
x1 -= margin.l;
|
||||
y1 -= margin.t;
|
||||
x2 += margin.r;
|
||||
y2 += margin.b;
|
||||
x1 -= (float) margin.l;
|
||||
y1 -= (float) margin.t;
|
||||
x2 += (float) margin.r;
|
||||
y2 += (float) margin.b;
|
||||
|
||||
extents->x = x1;
|
||||
extents->y = y1;
|
||||
|
||||
Reference in new issue
Block a user