From 058e2ecd2824475bb3866c89bab24cefab1b7f06 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Sat, 20 Jul 2013 15:11:54 -0700 Subject: xorg driver, added region files, misc, cleanup --- xorg/server/module/rdpPri.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'xorg/server/module/rdpPri.c') diff --git a/xorg/server/module/rdpPri.c b/xorg/server/module/rdpPri.c index 3de181a8..43f3d883 100644 --- a/xorg/server/module/rdpPri.c +++ b/xorg/server/module/rdpPri.c @@ -38,6 +38,7 @@ to deal with privates changing in xorg versions #include #include "rdpPri.h" +#include "rdpMisc.h" #if XORG_VERSION_CURRENT < (((1) * 10000000) + ((5) * 100000) + ((0) * 1000) + 0) /* 1.1, 1.2, 1.3, 1.4 */ @@ -167,9 +168,9 @@ int rdpPrivateInit(void) { #if XRDP_PRI == 3 - memset(&g_privateKeyRecGC, 0, sizeof(g_privateKeyRecGC)); - memset(&g_privateKeyRecWindow, 0, sizeof(g_privateKeyRecWindow)); - memset(&g_privateKeyRecPixmap, 0, sizeof(g_privateKeyRecPixmap)); + g_memset(&g_privateKeyRecGC, 0, sizeof(g_privateKeyRecGC)); + g_memset(&g_privateKeyRecWindow, 0, sizeof(g_privateKeyRecWindow)); + g_memset(&g_privateKeyRecPixmap, 0, sizeof(g_privateKeyRecPixmap)); #endif return 0; } -- cgit v1.2.1