mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix bug subtracting minutes from date.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21677 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c23afb72ee
commit
905ff03796
3 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-08-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSCalendarDate.m: Fix bug subtracting minute interval.
|
||||
|
||||
2005-08-22 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSGeometry.m (NSStringFromPoint, NSStringFromRect,
|
||||
|
|
|
@ -2414,7 +2414,7 @@ static void Grow(DescriptionInfo *info, unsigned size)
|
|||
minute %= 60;
|
||||
if (minute < 0)
|
||||
{
|
||||
hours++;
|
||||
hours--;
|
||||
minute += 60;
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ main()
|
|||
id pool;
|
||||
|
||||
//behavior_set_debug(0);
|
||||
|
||||
pool = [[NSAutoreleasePool alloc] init];
|
||||
|
||||
NSLog(@"%@", [NSCalendarDate distantFuture]);
|
||||
|
|
Loading…
Reference in a new issue