* 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:
@@ -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 ();
|
||||
|
||||
|
Reference in New Issue
Block a user