Skip to content

Commit 80508d9

Browse files
akjana35amaitland
authored andcommitted
Fix Issue #1582, Use ToLowerInvariant while converting Function names to avoid culture specific conversion.
1 parent 1773b8b commit 80508d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CefSharp/Internals/JavascriptObjectRepository.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ private static string GetJavascriptName(string str, bool camelCaseJavascriptName
342342
return string.Empty;
343343
}
344344

345-
return char.ToLower(str[0]) + str.Substring(1);
345+
return char.ToLowerInvariant(str[0]) + str.Substring(1);
346346
}
347347
}
348348
}

0 commit comments

Comments
 (0)