mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 06:45:33 +00:00
Fix for bug #17294 for vCard display on mac - r: putterman
This commit is contained in:
parent
a10ad39de7
commit
397950a216
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user