]> granicus.if.org Git - postgresql/commitdiff
Undo pgindent breakage (again). Per buildfarm.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Jul 2010 21:09:00 +0000 (21:09 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 6 Jul 2010 21:09:00 +0000 (21:09 +0000)
src/backend/utils/mb/mbutils.c

index 5e1721397aa1ea6ea5a462841891207a2ac794a9..da93ad0535a3dad111caa9a6bb5273473f0a6fbe 100644 (file)
@@ -4,7 +4,7 @@
  *
  * Tatsuo Ishii
  *
- * $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.96 2010/07/06 19:18:58 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/mb/mbutils.c,v 1.97 2010/07/06 21:09:00 tgl Exp $
  */
 #include "postgres.h"
 
@@ -1016,7 +1016,7 @@ pgwin32_toUTF16(const char *str, int len, int *utf16len)
        {
                utf16 = (WCHAR *) palloc(sizeof(WCHAR) * (len + 1));
                dstlen = MultiByteToWideChar(codepage, 0, str, len, utf16, len);
-               utf16[dstlen] = L '\0';
+               utf16[dstlen] = L'\0';
        }
        else
        {
@@ -1029,7 +1029,7 @@ pgwin32_toUTF16(const char *str, int len, int *utf16len)
 
                utf16 = (WCHAR *) palloc(sizeof(WCHAR) * (len + 1));
                dstlen = MultiByteToWideChar(CP_UTF8, 0, utf8, len, utf16, len);
-               utf16[dstlen] = L '\0';
+               utf16[dstlen] = L'\0';
 
                if (utf8 != str)
                        pfree(utf8);