Bug 226597 nsObjectFrame.cpp Warning: String literal converted to char* in initialization.
r=roc sr=roc git-svn-id: svn://10.0.0.236/trunk@150581 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -2632,10 +2632,17 @@ NS_IMETHODIMP nsPluginInstanceOwner::GetDocumentBase(const char* *result)
|
||||
|
||||
static nsHashtable *gCharsetMap = nsnull;
|
||||
typedef struct {
|
||||
char *mozName;
|
||||
char *javaName;
|
||||
char mozName[16];
|
||||
char javaName[12];
|
||||
} moz2javaCharset;
|
||||
|
||||
/* XXX If you add any strings longer than
|
||||
* {"x-mac-cyrillic", "MacCyrillic"},
|
||||
* {"x-mac-ukrainian", "MacUkraine"},
|
||||
* to the following array then you MUST update the
|
||||
* sizes of the arrays in the moz2javaCharset struct
|
||||
*/
|
||||
|
||||
static const moz2javaCharset charsets[] =
|
||||
{
|
||||
{"windows-1252", "Cp1252"},
|
||||
|
||||
Reference in New Issue
Block a user