ObjFW  Check-in [0f2ed1e510]

Overview
Comment:OFLocalization: Properly lowercase the language
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0f2ed1e510a0d1e7136c6eb26144c5d6b0b064f9314f3b70404f28ac86c17fed
User & Date: js on 2017-01-10 19:58:47
Other Links: manifest | tags
Context
2017-01-10
21:38
Add codepage 850 check-in: 878c25c9d7 user: js tags: trunk
19:58
OFLocalization: Properly lowercase the language check-in: 0f2ed1e510 user: js tags: trunk
19:51
Do not use DATADIR as a define check-in: e3e38ed68d user: js tags: trunk
Changes

Modified src/OFLocalization.m from [d001be40f2] to [5e507e5b86].

123
124
125
126
127
128
129
130

131
132

133
134
135
136
137
138
139
123
124
125
126
127
128
129

130
131

132
133
134
135
136
137
138
139







-
+

-
+








			_territory = [[OFString alloc]
			    initWithCString: tmp
				   encoding: OF_STRING_ENCODING_ASCII
				     length: tmpLen];
		}

		tmpLen = strlen(tmp);
		tmpLen = strlen(locale);
		for (size_t i = 0; i < tmpLen; i++)
			tmp[i] = of_ascii_tolower(tmp[i]);
			locale[i] = of_ascii_tolower(locale[i]);

		_language = [[OFString alloc]
		    initWithCString: locale
			   encoding: OF_STRING_ENCODING_ASCII
			     length: tmpLen];

		_decimalPoint = [[OFString alloc]