mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02: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;
|
||||
|
||||
// Read in the URL, which is in the form URL\rTITLE
|
||||
howMuch = stream.ReadData(oURL.begin(), oURL.size());
|
||||
char* where = find(oURL.begin(), oURL.end(), '\r');
|
||||
howMuch = stream.ReadData(&(*oURL.begin()), oURL.size());
|
||||
char* where = &(*find(oURL.begin(), oURL.end(), '\r'));
|
||||
ThrowIfNil_(where);
|
||||
*where = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user