Bug 303186 - MSVS2005 compilation error in nsXPCOMGlue.cpp - patch by Michael Moy <mmoy@yahoo.com> r=darin a=me
git-svn-id: svn://10.0.0.236/trunk@177444 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
6b3857f2f7
commit
76cdcbd475
@ -472,7 +472,7 @@ nsresult GRE_Startup()
|
||||
// libs (seamonkey GRE, not libxul)... add the GRE to the PATH.
|
||||
// See bug 301043.
|
||||
|
||||
char *lastSlash = strrchr(xpcomLocation, '\\');
|
||||
const char *lastSlash = strrchr(xpcomLocation, '\\');
|
||||
if (lastSlash) {
|
||||
int xpcomPathLen = lastSlash - xpcomLocation;
|
||||
DWORD pathLen = GetEnvironmentVariable("PATH", nsnull, 0);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user