From 6821875304a5746fd0cbf9eee958329bccfd7587 Mon Sep 17 00:00:00 2001 From: jeblanchard Date: Tue, 10 Jun 2008 04:56:39 +0000 Subject: [PATCH] Possibly a fix for [ 1989029 ] Message log not working --- src/drivers/win/log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/win/log.cpp b/src/drivers/win/log.cpp index ca7a52a6..f1b3fc7a 100644 --- a/src/drivers/win/log.cpp +++ b/src/drivers/win/log.cpp @@ -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? } }