Fix %b format error

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20409 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2004-12-01 15:43:34 +00:00
parent aeeb74e616
commit 10815039a2
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2004-12-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Fix off-by-one bug resulting in printout
for december being numeric with '%b' format.
Reported by Ludovic
2004-11-30 Adam Fedor <fedor@gnu.org>
* Source/GSFileHandle.m (-setNonBlocking:): Set the isNonBlocking

View file

@ -1783,7 +1783,7 @@ static void Grow(DescriptionInfo *info, unsigned size)
months = [locale objectForKey: NSShortMonthNameArray];
else
months = [locale objectForKey: NSMonthNameArray];
if (info->md >= [months count])
if (info->md > [months count])
{
mtag = NO;
}