From f037bb02c13feaf29676ab005db09b11e1cd3038 Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sat, 12 Apr 2003 03:17:15 +0000 Subject: [PATCH] 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 --- .../components/windowwatcher/src/nsPromptService.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mozilla/embedding/components/windowwatcher/src/nsPromptService.cpp b/mozilla/embedding/components/windowwatcher/src/nsPromptService.cpp index f920abc38cc..b2d158ef663 100644 --- a/mozilla/embedding/components/windowwatcher/src/nsPromptService.cpp +++ b/mozilla/embedding/components/windowwatcher/src/nsPromptService.cpp @@ -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);