Index: core/src/fxcrt/fx_basic_coords.cpp |
diff --git a/core/src/fxcrt/fx_basic_coords.cpp b/core/src/fxcrt/fx_basic_coords.cpp |
index f55c267da5a525760830ebee1df57610443144fd..62061704c75ff745f154ee0e531111d3fdfe38fc 100644 |
--- a/core/src/fxcrt/fx_basic_coords.cpp |
+++ b/core/src/fxcrt/fx_basic_coords.cpp |
@@ -260,7 +260,12 @@ void CFX_Matrix::Set(FX_FLOAT a, FX_FLOAT b, FX_FLOAT c, FX_FLOAT d, FX_FLOAT e, |
} |
void CFX_Matrix::Set(const FX_FLOAT n[6]) |
{ |
- FXSYS_memcpy32((void*)this, &n, sizeof(CFX_Matrix)); |
+ this->a = n[0]; |
+ this->b = n[1]; |
+ this->c = n[2]; |
+ this->d = n[3]; |
+ this->e = n[4]; |
+ this->f = n[5]; |
} |
void CFX_Matrix::SetReverse(const CFX_Matrix &m) |
{ |