diff options
author | Adam Tkac <atkac@redhat.com> | 2009-10-12 15:54:59 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2009-10-12 15:54:59 +0000 |
commit | 934f63cba1bf9646e3fd40b9575930e8c3371853 (patch) | |
tree | 92da01c0baccbb4182f656e0a541d6663291606b /win/vncconfig/Legacy.cxx | |
parent | 8517ea56a741f728ef290f54b77d736251f04b22 (diff) | |
download | tigervnc-934f63cba1bf9646e3fd40b9575930e8c3371853.tar.gz tigervnc-934f63cba1bf9646e3fd40b9575930e8c3371853.zip |
Make winvnc4 and Windows vncconfig compilable via MinGW.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3913 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncconfig/Legacy.cxx')
-rw-r--r-- | win/vncconfig/Legacy.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncconfig/Legacy.cxx b/win/vncconfig/Legacy.cxx index ae5d7166..f8c20280 100644 --- a/win/vncconfig/Legacy.cxx +++ b/win/vncconfig/Legacy.cxx @@ -71,7 +71,7 @@ void LegacyPage::LoadPrefs() // Reformat AuthHosts to Hosts. Wish I'd left the format the same. :( :( :( try { - CharArray tmp = strDup(authHosts.buf); + CharArray tmp(authHosts.buf); while (tmp.buf) { // Split the AuthHosts string into patterns to match |