summaryrefslogtreecommitdiffstats
path: root/xrdp/funcs.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2004-11-12 04:43:08 +0000
committerjsorg71 <jsorg71>2004-11-12 04:43:08 +0000
commit0be4f033922831d7173f86004ec0a0951a40f86d (patch)
treefdc79b79b992136ade24dc5ae9332fb23722afba /xrdp/funcs.c
parentea265279ef4eea574b7d36baa364178c44275812 (diff)
downloadxrdp-proprietary-0be4f033922831d7173f86004ec0a0951a40f86d.tar.gz
xrdp-proprietary-0be4f033922831d7173f86004ec0a0951a40f86d.zip
more work on combo box
Diffstat (limited to 'xrdp/funcs.c')
-rw-r--r--xrdp/funcs.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/xrdp/funcs.c b/xrdp/funcs.c
index 66229604..8d379fea 100644
--- a/xrdp/funcs.c
+++ b/xrdp/funcs.c
@@ -312,3 +312,13 @@ int remove_char_at(char* text, int index)
text[len - 1] = 0;
return 0;
}
+
+/*****************************************************************************/
+int set_string(char** in_str, char* in)
+{
+ if (in_str == 0)
+ return 0;
+ g_free(*in_str);
+ *in_str = g_strdup(in);
+ return 0;
+}