Bug 303186 - MSVS2005 compilation error in nsXPCOMGlue.cpp - patch by Michael Moy <mmoy@yahoo.com> r=darin a=me

This commit is contained in:
bsmedberg%covad.net 2005-08-09 21:22:58 +00:00
Родитель c325128e37
Коммит 9f6a73b9bb
1 изменённых файлов: 1 добавлений и 1 удалений

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

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