Fix for bug #17294 for vCard display on mac - r: putterman

This commit is contained in:
rhp%netscape.com 2000-08-13 22:11:59 +00:00
parent a10ad39de7
commit 397950a216

View File

@ -49,7 +49,9 @@
#include "nsCRT.h"
// String bundles...
#ifndef XP_MAC
nsCOMPtr<nsIStringBundle> stringBundle = nsnull;
#endif
static int MimeInlineTextVCard_parse_line (char *, PRInt32, MimeObject *);
static int MimeInlineTextVCard_parse_eof (MimeObject *, PRBool);
@ -1960,6 +1962,10 @@ VCardGetStringByID(PRInt32 aMsgId)
char *tempString = nsnull;
nsresult res = NS_OK;
#ifdef XP_MAC
nsCOMPtr<nsIStringBundle> stringBundle = nsnull;
#endif
if (!stringBundle)
{
char* propertyURL = NULL;