chcp: Return the active code page when called without arguments.
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3a01d356f9
commit
658d2e6133
|
@ -18,12 +18,20 @@
|
|||
|
||||
#include "wine/debug.h"
|
||||
|
||||
#include "wincon.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(chcp);
|
||||
|
||||
int __cdecl wmain(int argc, WCHAR *argv[])
|
||||
{
|
||||
int i;
|
||||
|
||||
if (argc == 1)
|
||||
{
|
||||
printf("Active code page: %d\n", GetConsoleCP());
|
||||
return 0;
|
||||
}
|
||||
|
||||
WINE_FIXME("stub:");
|
||||
for (i = 0; i < argc; i++)
|
||||
WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
|
||||
|
|
Loading…
Reference in New Issue