Differences From Artifact [0776706270]:
- File
src/OFDictionary.m
— part of check-in
[448a35dd9b]
at
2011-06-04 18:49:11
on branch 0.5
— Fix a bug in -[OFDictionary initWithKeys:arguments:].
When a key already exists, it means the precalculated count is wrong.
Therefore, decrease count if the key already exists. (user: js, size: 15980) [annotate] [blame] [check-ins using]
To Artifact [beb073a948]:
- File src/OFDictionary.m — part of check-in [048ed62083] at 2011-06-06 16:19:03 on branch 0.5 — Remove semicolons that should not have been there. (user: js, size: 15979) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
32 33 34 35 36 37 38 | struct of_dictionary_bucket of_dictionary_deleted_bucket = {}; #define BUCKET struct of_dictionary_bucket #define DELETED &of_dictionary_deleted_bucket @implementation OFDictionary | | | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | struct of_dictionary_bucket of_dictionary_deleted_bucket = {}; #define BUCKET struct of_dictionary_bucket #define DELETED &of_dictionary_deleted_bucket @implementation OFDictionary + dictionary { return [[[self alloc] init] autorelease]; } + dictionaryWithDictionary: (OFDictionary*)dict { return [[[self alloc] initWithDictionary: dict] autorelease]; |
︙ | ︙ |