about summary refs log tree commit diff stats
path: root/src/wrapped32
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-09-26 13:20:07 +0200
committerptitSeb <sebastien.chev@gmail.com>2024-09-26 13:20:07 +0200
commitb80e4c552aa7ba61e8b9bb41079e34a1c7512464 (patch)
tree51993243acb33b662d299576da19c448fd703513 /src/wrapped32
parent933dc0f5c83016345bef0dd7c5b5b88de495c9c3 (diff)
downloadbox64-b80e4c552aa7ba61e8b9bb41079e34a1c7512464.tar.gz
box64-b80e4c552aa7ba61e8b9bb41079e34a1c7512464.zip
[BOX32] Minor changes to 32bits freetype wrapping
Diffstat (limited to 'src/wrapped32')
-rw-r--r--src/wrapped32/wrappedfreetype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wrapped32/wrappedfreetype.c b/src/wrapped32/wrappedfreetype.c
index acafc404..f55bcab5 100644
--- a/src/wrapped32/wrappedfreetype.c
+++ b/src/wrapped32/wrappedfreetype.c
@@ -433,8 +433,8 @@ void inplace_FT_GlyphSlot_enlarge(void* a)
     dst->outline.points = from_ptrv(src->outline.points);
     dst->outline.n_points = src->outline.n_points;
     for(int i=dst->outline.n_points-1; i>=0; --i) {
-        dst->outline.points[i].y = from_long(((FT_Vector_32_t*)from_ptrv(src->outline.points))[i].y);
-        dst->outline.points[i].x = from_long(((FT_Vector_32_t*)from_ptrv(src->outline.points))[i].x);
+        dst->outline.points[i].y = from_long(((FT_Vector_32_t*)dst->outline.points)[i].y);
+        dst->outline.points[i].x = from_long(((FT_Vector_32_t*)dst->outline.points)[i].x);
     }
     dst->outline.n_contours = src->outline.n_contours;
     dst->bitmap_top = src->bitmap_top;