Fix test for an absolute URL in NSURL -absoluteURL, which got things

backward.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@31532 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2010-10-19 12:56:30 +00:00
parent 6a946ccbb2
commit b01361f433
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2010-10-19 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSURL.m (-absoluteURL): Fix test for an absolute URL,
which got things backward.
2010-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: When making a relative file URL copy the host from

View file

@ -1298,7 +1298,7 @@ static unsigned urlAlign;
*/
- (NSURL*) absoluteURL
{
if (_baseURL != nil)
if (_baseURL == nil)
{
return self;
}