Overview
Comment: | Fix setting shared localization for NULL locale |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
f14a6e94e431e11d3427d87dfc569644 |
User & Date: | js on 2017-03-12 01:00:27 |
Other Links: | manifest | tags |
Context
2017-03-12
| ||
01:06 | OFLocalization: Handle nil language / territory check-in: 58c2a71294 user: js tags: trunk | |
01:00 | Fix setting shared localization for NULL locale check-in: f14a6e94e4 user: js tags: trunk | |
00:58 | OFMutableString: Check more arguments for nil check-in: 696bc0d890 user: js tags: trunk | |
Changes
Modified src/OFLocalization.m from [b0fb42c722] to [8a3ceeca0d].
︙ | ︙ | |||
72 73 74 75 76 77 78 79 80 81 82 83 84 85 | [self release]; @throw e; } if (locale == NULL) { _encoding = OF_STRING_ENCODING_UTF_8; _decimalPoint = @"."; return self; } locale = of_strdup(locale); @try { char *tmp; | > > > | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | [self release]; @throw e; } if (locale == NULL) { _encoding = OF_STRING_ENCODING_UTF_8; _decimalPoint = @"."; sharedLocalization = self; return self; } locale = of_strdup(locale); @try { char *tmp; |
︙ | ︙ |