summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/clipboard.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-02-15 18:35:44 -0800
committerJay Sorg <jay.sorg@gmail.com>2013-02-15 18:35:44 -0800
commit898b8efdf2b70b424a01554276553f30cba6cc83 (patch)
tree54be52e6e2c43750ae5b8b99e5a060a1815d14ba /sesman/chansrv/clipboard.c
parentf0cc2ea04ca6b73ced5d5d9adf86376a3fd24f81 (diff)
downloadxrdp-proprietary-898b8efdf2b70b424a01554276553f30cba6cc83.tar.gz
xrdp-proprietary-898b8efdf2b70b424a01554276553f30cba6cc83.zip
chansrv: fix clipboard crash
Diffstat (limited to 'sesman/chansrv/clipboard.c')
-rw-r--r--sesman/chansrv/clipboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/chansrv/clipboard.c b/sesman/chansrv/clipboard.c
index 67afbd49..d277d474 100644
--- a/sesman/chansrv/clipboard.c
+++ b/sesman/chansrv/clipboard.c
@@ -247,7 +247,7 @@ static int g_cliprdr_flags = CB_USE_LONG_FORMAT_NAMES |
static int g_formatIds[16];
static int g_num_formatIds = 0;
-static int g_file_format_id = 0;
+static int g_file_format_id = -1;
/*****************************************************************************/
/* this is one way to get the current time from the x server */