Commit 658d2e61 authored by Erich E. Hoover's avatar Erich E. Hoover Committed by Alexandre Julliard

chcp: Return the active code page when called without arguments.

parent 3a01d356
......@@ -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]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment