Fix init from string

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6423 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-04-05 21:43:40 +00:00
parent f1313e073c
commit 3ff7abaa75
3 changed files with 429 additions and 410 deletions

View file

@ -908,9 +908,8 @@ GSTimeNow()
// Easiest to just have NSCalendarDate do the work for us
NSCalendarDate *d = [calendarClass alloc];
[d initWithString: description];
[self initWithTimeIntervalSinceReferenceDate:
otherTime(d)];
d = [d initWithString: description];
[self initWithTimeIntervalSinceReferenceDate: otherTime(d)];
RELEASE(d);
return self;
}