Differences From Artifact [b0fb42c722]:
- File
src/OFLocalization.m
— part of check-in
[0e82e3b843]
at
2017-02-27 22:04:21
on branch trunk
— OFLocalization: Don't lower language and territory
Instead, lowercase it before looking it up.
This allows getting the original values provided by setlocale(). (user: js, size: 6284) [annotate] [blame] [check-ins using]
To Artifact [8a3ceeca0d]:
- File src/OFLocalization.m — part of check-in [f14a6e94e4] at 2017-03-12 01:00:27 on branch trunk — Fix setting shared localization for NULL locale (user: js, size: 6315) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
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; |
︙ | ︙ |