Pro4 changes.

This commit is contained in:
pinkerton%netscape.com 1998-09-29 17:16:24 +00:00
parent 54ab1acd23
commit 9dd4a7d7d0

View File

@ -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;
}