Pro4 changes.
git-svn-id: svn://10.0.0.236/trunk@11369 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
49373d9d48
commit
7abff9be9b
@ -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…
x
Reference in New Issue
Block a user