From c7b5e851ebbbd389a96e6e67b92064b07a0f2f76 Mon Sep 17 00:00:00 2001 From: Magnus Hagander <magnus@hagander.net> Date: Sat, 17 Oct 2009 05:14:52 +0000 Subject: [PATCH] Fix typo in previous release as reported by Itagaki Takahiro, but missed by me. --- src/backend/utils/mb/mbutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/utils/mb/mbutils.c b/src/backend/utils/mb/mbutils.c index c6e32ef6643..5aaaae502f8 100644 --- a/src/backend/utils/mb/mbutils.c +++ b/src/backend/utils/mb/mbutils.c @@ -4,7 +4,7 @@ * * 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" @@ -1037,7 +1037,7 @@ pgwin32_toUTF16(const char *str, int len, int *utf16len) } if (utf16len) - *utf16len = len; + *utf16len = dstlen; return utf16; } -- GitLab