Fix small bug introduced when switching to Macros.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33627 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2011-07-25 10:58:38 +00:00
parent f65a7c5bda
commit 716586a5cc
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-07-25 Fred Kiefer <FredKiefer@gmx.de>
* libs/base/trunk/Headers/GNUstepBase/GSIMap.h
(GSIMapAddKeyNoRetain): Correct previous change.
2011-07-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAssertionHandler.m,

View file

@ -1106,7 +1106,7 @@ GSIMapAddKeyNoRetain(GSIMapTable map, GSIMapKey key)
}
}
map->freeNodes = node->nextInBucket;
GSI_MAP_WRITE_KEY(map, &node->key, node->key);
GSI_MAP_WRITE_KEY(map, &node->key, key);
node->nextInBucket = 0;
GSIMapRightSizeMap(map, map->nodeCount);
GSIMapAddNodeToMap(map, node);