summaryrefslogtreecommitdiffstats
path: root/xorg/server/module/rdpPri.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-07-20 15:11:54 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-07-20 15:11:54 -0700
commit058e2ecd2824475bb3866c89bab24cefab1b7f06 (patch)
tree5d12e3235f2e19d021100d6bcaaad8d363e42c3c /xorg/server/module/rdpPri.c
parentbb19b8ed5770a5a45e78ec8e3919b859932a76a0 (diff)
downloadxrdp-proprietary-058e2ecd2824475bb3866c89bab24cefab1b7f06.tar.gz
xrdp-proprietary-058e2ecd2824475bb3866c89bab24cefab1b7f06.zip
xorg driver, added region files, misc, cleanup
Diffstat (limited to 'xorg/server/module/rdpPri.c')
-rw-r--r--xorg/server/module/rdpPri.c7
1 files changed, 4 insertions, 3 deletions
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 <mi.h>
#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;
}