Skip to content
Snippets Groups Projects
Commit 5cb578f7 authored by mcmullen%netscape.com's avatar mcmullen%netscape.com
Browse files

Corrected spelling in some comments.

parent b5879752
No related branches found
No related tags found
No related merge requests found
......@@ -1172,7 +1172,7 @@ nsprPath::operator const char*()
modifiedNSPRPath = PL_strdup( mFilePath );
char* resultPath = modifiedNSPRPath;
/* strip the leading seperator */
/* strip the leading separator */
if(resultPath[0] == '/')
resultPath = resultPath + 1;
......@@ -1180,7 +1180,7 @@ nsprPath::operator const char*()
if(resultPath[1] == '|')
resultPath[1] = ':';
/* Remove the ending seperator only if it is not the last seperator*/
/* Remove the ending separator only if it is not the last separator*/
int len = PL_strlen(resultPath);
if(resultPath[len - 1 ] == '/')
if(resultPath[len - 2 ] != ':')
......
......@@ -1172,7 +1172,7 @@ nsprPath::operator const char*()
modifiedNSPRPath = PL_strdup( mFilePath );
char* resultPath = modifiedNSPRPath;
/* strip the leading seperator */
/* strip the leading separator */
if(resultPath[0] == '/')
resultPath = resultPath + 1;
......@@ -1180,7 +1180,7 @@ nsprPath::operator const char*()
if(resultPath[1] == '|')
resultPath[1] = ':';
/* Remove the ending seperator only if it is not the last seperator*/
/* Remove the ending separator only if it is not the last separator*/
int len = PL_strlen(resultPath);
if(resultPath[len - 1 ] == '/')
if(resultPath[len - 2 ] != ':')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment