Skip to content

Commit 666d976

Browse files
authored
Fix wrong define is used in StringUtils.ToLower() (#2304)
1 parent a31156e commit 666d976

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Src/Newtonsoft.Json/Utilities/StringUtils.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ public static string ToCamelCase(string s)
195195

196196
private static char ToLower(char c)
197197
{
198-
#if HAVE_CHAR_TO_STRING_WITH_CULTURE
198+
#if HAVE_CHAR_TO_LOWER_WITH_CULTURE
199199
c = char.ToLower(c, CultureInfo.InvariantCulture);
200200
#else
201201
c = char.ToLowerInvariant(c);

0 commit comments

Comments
 (0)