fix logwindow crash

This commit is contained in:
Shawn Hoffman 2012-03-17 21:46:22 -07:00
parent 1fbf2e38c4
commit 8bdf93a15c
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ CLogWindow::CLogWindow(CFrame *parent, wxWindowID id, const wxPoint& pos,
, x(0), y(0), winpos(0)
, Parent(parent), m_ignoreLogTimer(false), m_LogAccess(true)
, m_Log(NULL), m_cmdline(NULL), m_FontChoice(NULL)
, m_SJISConv(*(wxCSConv*)wxConvCurrent)
, m_SJISConv(wxConvLocal)
{
#ifdef _WIN32
static bool validCP932 = ::IsValidCodePage(932) != 0;