diff options
Diffstat (limited to 'common/utf8conv.c')
-rw-r--r-- | common/utf8conv.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/common/utf8conv.c b/common/utf8conv.c index 1f01841..8b66e7f 100644 --- a/common/utf8conv.c +++ b/common/utf8conv.c @@ -170,10 +170,8 @@ set_native_charset (const char *newset) different one for console input. Not sure how to cope with that. If the console Code page is not known we fall back to the system code page. */ -#ifndef HAVE_W32CE_SYSTEM cpno = GetConsoleOutputCP (); if (!cpno) -#endif cpno = GetACP (); sprintf (codepage, "CP%u", cpno ); /* Resolve alias. We use a long string string and not the usual @@ -806,10 +804,8 @@ get_w32_codepage (void) if (!cp) { -#ifndef HAVE_W32CE_SYSTEM cp = GetConsoleOutputCP (); if (!cp) -#endif cp = GetACP (); } return cp; |