Corrected spelling in some comments.

This commit is contained in:
mcmullen%netscape.com 1999-04-23 20:27:38 +00:00
Родитель b587975269
Коммит 5cb578f764
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -1172,7 +1172,7 @@ nsprPath::operator const char*()
modifiedNSPRPath = PL_strdup( mFilePath ); modifiedNSPRPath = PL_strdup( mFilePath );
char* resultPath = modifiedNSPRPath; char* resultPath = modifiedNSPRPath;
/* strip the leading seperator */ /* strip the leading separator */
if(resultPath[0] == '/') if(resultPath[0] == '/')
resultPath = resultPath + 1; resultPath = resultPath + 1;
@ -1180,7 +1180,7 @@ nsprPath::operator const char*()
if(resultPath[1] == '|') if(resultPath[1] == '|')
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); int len = PL_strlen(resultPath);
if(resultPath[len - 1 ] == '/') if(resultPath[len - 1 ] == '/')
if(resultPath[len - 2 ] != ':') if(resultPath[len - 2 ] != ':')

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

@ -1172,7 +1172,7 @@ nsprPath::operator const char*()
modifiedNSPRPath = PL_strdup( mFilePath ); modifiedNSPRPath = PL_strdup( mFilePath );
char* resultPath = modifiedNSPRPath; char* resultPath = modifiedNSPRPath;
/* strip the leading seperator */ /* strip the leading separator */
if(resultPath[0] == '/') if(resultPath[0] == '/')
resultPath = resultPath + 1; resultPath = resultPath + 1;
@ -1180,7 +1180,7 @@ nsprPath::operator const char*()
if(resultPath[1] == '|') if(resultPath[1] == '|')
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); int len = PL_strlen(resultPath);
if(resultPath[len - 1 ] == '/') if(resultPath[len - 1 ] == '/')
if(resultPath[len - 2 ] != ':') if(resultPath[len - 2 ] != ':')