Overview
Comment: | Fix a bug in -[OFDictionary initWithKeys:arguments:].
When a key already exists, it means the precalculated count is wrong. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 0.5 |
Files: | files | file ages | folders |
SHA3-256: |
448a35dd9bd966cfcc9ad7a506823283 |
User & Date: | js on 2011-06-04 18:49:11 |
Other Links: | branch diff | manifest | tags |
Context
2011-06-06
| ||
16:05 | Add missing imports to make gcc from trunk happy. check-in: 265ebf1d85 user: js tags: 0.5 | |
2011-06-04
| ||
18:49 | Fix a bug in -[OFDictionary initWithKeys:arguments:]. check-in: 448a35dd9b user: js tags: 0.5 | |
16:30 | Also escape \r in -[stringByXMLEscaping]. check-in: 7d8ab5ba31 user: js tags: 0.5 | |
Changes
Modified src/OFDictionary.m from [69df15df8e] to [0776706270].
︙ | ︙ | |||
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; |
︙ | ︙ |