Differences From Artifact [a5322a8311]:
- File src/OFDictionary.m — part of check-in [dca3061dfc] at 2011-06-03 15:14:18 on branch trunk — Add deserialization. (user: js, size: 19835) [annotate] [blame] [check-ins using]
To Artifact [10ad77a11e]:
- File
src/OFDictionary.m
— part of check-in
[50457cd1fd]
at
2011-06-04 18:49:11
on branch trunk
— 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: 19847) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
461 462 463 464 465 466 467 468 469 470 471 472 473 474 | [data[j]->object release]; } @catch (id e) { [object release]; @throw e; } data[j]->object = object; } } @catch (id e) { [self release]; @throw e; } return self; | > | 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 | [data[j]->object release]; } @catch (id e) { [object release]; @throw e; } data[j]->object = object; count--; } } @catch (id e) { [self release]; @throw e; } return self; |
︙ | ︙ |