Possibly a fix for [ 1989029 ] Message log not working

This commit is contained in:
jeblanchard 2008-06-10 04:56:39 +00:00
parent e094a3fbd2
commit 6821875304
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,6 @@ BOOL CALLBACK LogCon(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
switch(uMsg)
{
case WM_INITDIALOG:
RedoText();
break;
case WM_COMMAND:
if(HIWORD(wParam)==BN_CLICKED)
@ -83,6 +82,7 @@ void MakeLogWindow(void)
if(!logwin)
{
logwin = CreateDialog(fceu_hInstance, "MESSAGELOG" , 0, LogCon);
RedoText(); // XXX jeblanchard Why didn't this work in WM_INITDIALOG?
}
}