Make some strings in prompt service char arrays instead of pointers to move
them to readonly data. Bug 201355, patch by ataylor@its.to (Andrew Taylor), r=adamlock, sr=alecf git-svn-id: svn://10.0.0.236/trunk@141052 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -48,11 +48,11 @@
|
||||
#include "nsIStringBundle.h"
|
||||
#include "nsXPIDLString.h"
|
||||
|
||||
static const char *kPromptURL="chrome://global/content/commonDialog.xul";
|
||||
static const char *kSelectPromptURL="chrome://global/content/selectDialog.xul";
|
||||
static const char *kQuestionIconClass ="question-icon";
|
||||
static const char *kAlertIconClass ="alert-icon";
|
||||
static const char *kWarningIconClass ="message-icon";
|
||||
static const char kPromptURL[] = "chrome://global/content/commonDialog.xul";
|
||||
static const char kSelectPromptURL[] = "chrome://global/content/selectDialog.xul";
|
||||
static const char kQuestionIconClass[] = "question-icon";
|
||||
static const char kAlertIconClass[] = "alert-icon";
|
||||
static const char kWarningIconClass[] = "message-icon";
|
||||
|
||||
static NS_DEFINE_CID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user