mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-13 11:51:38 +01:00
16 lines
485 B
Diff
16 lines
485 B
Diff
--- a/modules/javafx.graphics/src/main/native-font/freetype.c
|
|
+++ b/modules/javafx.graphics/src/main/native-font/freetype.c
|
|
@@ -391,9 +391,11 @@
|
|
(JNIEnv *env, jclass that, jlong arg0, jobject arg1, jlong arg2, jlong arg3)
|
|
{
|
|
FT_Vector *lpDelta = NULL;
|
|
+ FT_Vector tmp;
|
|
if (arg2 || arg3) {
|
|
FT_Vector vec = {arg2, arg3};
|
|
- lpDelta = &vec;
|
|
+ tmp = vec;
|
|
+ lpDelta = &tmp;
|
|
}
|
|
if (arg1) {
|
|
FT_Matrix matrix, *lpMatrix = NULL;
|