Differences From Artifact [69df15df8e]:
- File src/OFDictionary.m — part of check-in [1df836eacc] at 2011-04-04 23:02:09 on branch trunk — Indent -[description] of collections. (user: js, size: 15968) [annotate] [blame] [check-ins using]
To 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]
︙ | ︙ | |||
451 452 453 454 455 456 457 458 459 460 461 462 463 464 | [data[j]->object release]; } @catch (id e) { [obj release]; @throw e; } data[j]->object = obj; } } @catch (id e) { [self release]; @throw e; } return self; | > | 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 | [data[j]->object release]; } @catch (id e) { [obj release]; @throw e; } data[j]->object = obj; count--; } } @catch (id e) { [self release]; @throw e; } return self; |
︙ | ︙ |