don't localize error dialog. THEME is shutdown by that time.

This commit is contained in:
Chris Danford
2006-02-08 22:28:47 +00:00
parent 38d439c713
commit bad42fef01
@@ -117,13 +117,12 @@ static BOOL CALLBACK ErrorWndProc( HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
{
case WM_INITDIALOG:
{
DialogUtil::SetHeaderFont( hWnd, IDC_STATIC_HEADER_TEXT );
// Set static text
RString sMessage = g_sErrorString;
sMessage.Replace( "\n", "\r\n" );
SetWindowText( GetDlgItem(hWnd, IDC_EDIT_ERROR), sMessage );
DialogUtil::LocalizeDialogAndContents( hWnd );
DialogUtil::SetHeaderFont( hWnd, IDC_STATIC_HEADER_TEXT );
}
break;
case WM_COMMAND: