summaryrefslogtreecommitdiff
path: root/setup.c
diff options
context:
space:
mode:
authorHiroshi Inoue2014-02-20 15:08:40 +0000
committerHiroshi Inoue2014-02-20 15:08:40 +0000
commitd7363d4b24fb442d1dbba76db8e9a9beae928e73 (patch)
treee7d81ea647c9a42a4347e05425413398c4cc44d7 /setup.c
parent6f8d8bae580e646d92334928e13375aa544cee2b (diff)
Fix compilation errors caused by the commit 3116f70ab51d0218ceff241fd1323f436bb4fd60.
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.c b/setup.c
index f17a612..0a6d19e 100644
--- a/setup.c
+++ b/setup.c
@@ -392,7 +392,7 @@ ConfigDlgProc(HWND hdlg,
#ifdef UNICODE_SUPPORT
tlen = strlen(emsg);
wermsg = (SQLWCHAR *) malloc(sizeof(SQLWCHAR) * (tlen + 1));
- ulen = utf8_to_ucs2_lf1(emsg, SQL_NTS, FALSE, wermsg, tlen + 1);
+ ulen = utf8_to_ucs2_lf(emsg, SQL_NTS, FALSE, wermsg, tlen + 1, TRUE);
if (ulen != (SQLULEN) -1)
{
allocstr = malloc(4 * tlen + 1);