tweaks: remove a misplaced (and nested) #ifdef

It was accidentally introduced two weeks ago by commit 1c010d8e.
master
Benno Schulenberg 2021-04-09 16:18:08 +02:00
parent d6ed174d09
commit b4a5aedc6c
1 changed files with 0 additions and 2 deletions

View File

@ -180,7 +180,6 @@ char control_mbrep(const char *c, bool isdata)
* the number of bytes in the sequence, or -1 for an invalid sequence. */
int mbtowide(wchar_t *wc, const char *c)
{
#ifdef ENABLE_UTF8
if ((signed char)*c < 0 && use_utf8) {
unsigned char v1 = (unsigned char)c[0];
unsigned char v2 = (unsigned char)c[1] ^ 0x80;
@ -219,7 +218,6 @@ int mbtowide(wchar_t *wc, const char *c)
} else
return -1;
}
#endif
*wc = (unsigned int)*c;
return 1;