fixing bug 203377 - Alert dialogs to close browser/kill process have hard coded 'Mozilla' strings. r=sgehani, sr=jag, a=asa
git-svn-id: svn://10.0.0.236/trunk@141929 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2574,15 +2574,12 @@ void ProcessWindowsMessages()
|
||||
|
||||
void ShowMessage(LPSTR szMessage, BOOL bShow)
|
||||
{
|
||||
char szBuf[MAX_BUF];
|
||||
|
||||
if(!hDlgMessage ||!szMessage)
|
||||
return;
|
||||
|
||||
if(sgProduct.mode != SILENT)
|
||||
{
|
||||
if(bShow)
|
||||
if(bShow && szMessage)
|
||||
{
|
||||
char szBuf[MAX_BUF];
|
||||
|
||||
ZeroMemory(szBuf, sizeof(szBuf));
|
||||
GetPrivateProfileString("Messages", "MB_MESSAGE_STR", "", szBuf, sizeof(szBuf), szFileIniInstall);
|
||||
hDlgMessage = InstantiateDialog(hWndMain, DLG_MESSAGE, szBuf, DlgProcMessage);
|
||||
|
||||
Reference in New Issue
Block a user