Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a39c6ab commit 6f843e8Copy full SHA for 6f843e8
src/backend/utils/mb/wchar.c
@@ -1,7 +1,7 @@
1
/*
2
* conversion functions between pg_wchar and multi-byte streams.
3
* Tatsuo Ishii
4
- * $Id: wchar.c,v 1.9 1999/07/11 22:47:20 ishii Exp $
+ * $Id: wchar.c,v 1.10 2000/01/25 02:12:27 ishii Exp $
5
*
6
* WIN1250 client encoding updated by Pavel Behal
7
@@ -166,11 +166,7 @@ pg_euccn_mblen(const unsigned char *s)
166
{
167
int len;
168
169
- if (*s == SS2)
170
- len = 3;
171
- else if (*s == SS3)
172
173
- else if (*s & 0x80)
+ if (*s & 0x80)
174
len = 2;
175
else
176
len = 1;
0 commit comments