fix thunderbird build bustage. Patch by Ben Goodger

This commit is contained in:
scott%scott-macgregor.org 2004-03-09 00:12:45 +00:00
Родитель 02916b3d2e
Коммит 4b2c616009
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -902,10 +902,14 @@ nsNativeAppSupportWin::FindTopic( HSZ topic ) {
// Utility function that determines if we're handling http Internet shortcuts.
static PRBool isDefaultBrowser()
{
#ifdef MOZ_PHOENIX
nsCOMPtr<nsIShellService> shell(do_GetService("@mozilla.org/browser/shell-service;1"));
PRBool isDefault;
shell->IsDefaultBrowser(PR_FALSE, &isDefault);
return isDefault;
#else
return FALSE;
#endif
}
// Utility function to delete a registry subkey.