* dcrt0.cc: Remove local variable alternate_charset_active.

* fhandler.h: Add variable alternate_charset_active, functions
	str_to_con, con_to_str to dev_console structure.
	* fhandler_console.cc (con_to_str): Move function into dev_console
	class.
	(str_to_con): Ditto.
	(fhandler_console::read): Call con_to_str on dev_state.
	(fhandler_console::write_normal): Call str_to_con on dev_state.
	(fhandler_console::char_command): Change active_charset_active
	assignment to be on dev_state.
	* winsup.h: Remove global external variable alternate_charset_active.
This commit is contained in:
Corinna Vinschen
2003-10-16 14:08:28 +00:00
parent b4d51d01c8
commit abfc9c412c
5 changed files with 44 additions and 27 deletions

View File

@@ -90,7 +90,6 @@ extern "C" DWORD WINAPI GetLastError (void);
enum codepage_type {ansi_cp, oem_cp};
extern codepage_type current_codepage;
extern bool alternate_charset_active;
UINT get_cp ();