mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Pro4 changes.
This commit is contained in:
parent
54ab1acd23
commit
9dd4a7d7d0
@ -47,8 +47,8 @@ ReadBookmarksFile ( vector<char> & oURL, FSSpec & inSpec )
|
|||||||
Int32 howMuch;
|
Int32 howMuch;
|
||||||
|
|
||||||
// Read in the URL, which is in the form URL\rTITLE
|
// Read in the URL, which is in the form URL\rTITLE
|
||||||
howMuch = stream.ReadData(oURL.begin(), oURL.size());
|
howMuch = stream.ReadData(&(*oURL.begin()), oURL.size());
|
||||||
char* where = find(oURL.begin(), oURL.end(), '\r');
|
char* where = &(*find(oURL.begin(), oURL.end(), '\r'));
|
||||||
ThrowIfNil_(where);
|
ThrowIfNil_(where);
|
||||||
*where = 0;
|
*where = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user