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
This commit is contained in:
bzbarsky%mit.edu 2003-04-12 03:17:15 +00:00
Родитель b7e3933dd1
Коммит 46c0fbda65
1 изменённых файлов: 5 добавлений и 5 удалений

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

@ -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);