fix error in last checkin: a.Left(b, 10) != a = Substring(b, 10)

r=biesi
This commit is contained in:
darin%meer.net 2005-11-08 23:39:42 +00:00
parent f69adbb7c3
commit 446ecfcbd1

View File

@ -757,7 +757,7 @@ nsresult LoadURLsFromFile(char *aFileName)
fileBuffer.Append(buffer, len);
// Treat each line as a URL...
while ((offset = FindChar(fileBuffer, '\n')) != -1) {
urlString = Substring(fileBuffer, offset);
urlString = StringHead(fileBuffer, offset);
fileBuffer.Cut(0, offset+1);
StripChar(urlString, '\r');