mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
fix error in last checkin: a.Left(b, 10) != a = Substring(b, 10)
r=biesi
This commit is contained in:
parent
f69adbb7c3
commit
446ecfcbd1
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user