Commit c7b5e851 authored by Magnus Hagander's avatar Magnus Hagander

Fix typo in previous release as reported by Itagaki Takahiro, but missed

by me.
parent 74877137
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Tatsuo Ishii * Tatsuo Ishii
* *
* $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.90 2009/10/17 00:24:51 mha Exp $ * $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.91 2009/10/17 05:14:52 mha Exp $
*/ */
#include "postgres.h" #include "postgres.h"
...@@ -1037,7 +1037,7 @@ pgwin32_toUTF16(const char *str, int len, int *utf16len) ...@@ -1037,7 +1037,7 @@ pgwin32_toUTF16(const char *str, int len, int *utf16len)
} }
if (utf16len) if (utf16len)
*utf16len = len; *utf16len = dstlen;
return utf16; return utf16;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment