mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +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
532b855870
commit
8bb5a81e4a
3 changed files with 5 additions and 2 deletions
|
@ -2414,7 +2414,7 @@ static void Grow(DescriptionInfo *info, unsigned size)
|
|||
minute %= 60;
|
||||
if (minute < 0)
|
||||
{
|
||||
hours++;
|
||||
hours--;
|
||||
minute += 60;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue