mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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:
parent
6a946ccbb2
commit
b01361f433
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -1298,7 +1298,7 @@ static unsigned urlAlign;
|
|||
*/
|
||||
- (NSURL*) absoluteURL
|
||||
{
|
||||
if (_baseURL != nil)
|
||||
if (_baseURL == nil)
|
||||
{
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue