cleaner/more consistent report id
This commit is contained in:
@@ -811,14 +811,19 @@ BOOL CrashDialog::HandleMessage( UINT msg, WPARAM wParam, LPARAM lParam )
|
||||
else if( xml.GetAttrValue("ReportId", iID) )
|
||||
{
|
||||
SetWindowText( GetDlgItem(hDlg, IDC_MAIN_TEXT), UPDATE_IS_NOT_AVAILABLE.GetValue() );
|
||||
SetWindowText( GetDlgItem(hDlg, IDC_RESULT_ID), ssprintf("#%i", iID) );
|
||||
ShowWindow( GetDlgItem(hDlg, IDC_RESULT_ID), true );
|
||||
}
|
||||
else
|
||||
{
|
||||
SetWindowText( GetDlgItem(hDlg, IDC_MAIN_TEXT), ERROR_SENDING_REPORT.GetValue() );
|
||||
}
|
||||
|
||||
if( xml.GetAttrValue("ReportId", iID) )
|
||||
{
|
||||
char sBuf[1024];
|
||||
GetWindowText( hDlg, sBuf, 1024 );
|
||||
SetWindowText( hDlg, ssprintf("%s (#%i)", sBuf, iID) );
|
||||
}
|
||||
|
||||
ShowWindow( GetDlgItem(hDlg, IDC_PROGRESS), false );
|
||||
SetWindowText( GetDlgItem(hDlg, IDC_BUTTON_CLOSE), CLOSE.GetValue() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user