On Friday, 29 January 2016, Alistair Leslie-Hughes <leslie_alistair@hotmail.com> wrote:
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
---
dlls/gdiplus/gdiplus_private.h | 6 ++++++
dlls/gdiplus/pen.c | 9 ++++-----
dlls/gdiplus/tests/pen.c | 6 +++---
3 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/dlls/gdiplus/gdiplus_private.h b/dlls/gdiplus/gdiplus_private.h
index 1af0bd0..1ed1e5e 100644
--- a/dlls/gdiplus/gdiplus_private.h
+++ b/dlls/gdiplus/gdiplus_private.h
@@ -71,6 +71,11 @@ static inline BOOL heap_free(void *mem)
return HeapFree(GetProcessHeap(), 0, mem);
}
+static inline void copy_matrix(GpMatrix *in, GpMatrix *out)
+{
+ memcpy(out, in, 6 * sizeof(REAL));
+}
+
Simple assignment could be used instead of this helper.