(Re)Fix for bug #23546

a=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@72230 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rusty.lynch%intel.com
2000-06-14 17:58:49 +00:00
parent 1826a073a2
commit 32b0ceaf7f
2 changed files with 2 additions and 8 deletions

View File

@@ -84,10 +84,7 @@ nsPluginsDir::nsPluginsDir(PRUint16 location)
const char *pluginsDir = sysdir.GetCString(); // native path
if (pluginsDir != NULL)
{
const char* allocPath;
allocPath = PL_strdup(pluginsDir);
*(nsFileSpec*)this = allocPath;
*(nsFileSpec*)this = pluginsDir;
}
}

View File

@@ -84,10 +84,7 @@ nsPluginsDir::nsPluginsDir(PRUint16 location)
const char *pluginsDir = sysdir.GetCString(); // native path
if (pluginsDir != NULL)
{
const char* allocPath;
allocPath = PL_strdup(pluginsDir);
*(nsFileSpec*)this = allocPath;
*(nsFileSpec*)this = pluginsDir;
}
}