Skip to content

Commit

Permalink
Use invariant culture.
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Dec 17, 2019
1 parent fb1dcc1 commit fc5ada5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.X11/Glx/Glx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public GlxInterface() : base(SafeGetProcAddress)
// which can then cause segmentation faults because they return garbage.
public static IntPtr SafeGetProcAddress(string proc, bool optional)
{
if (proc.StartsWith("egl"))
if (proc.StartsWith("egl", StringComparison.InvariantCulture))
{
return IntPtr.Zero;
}
Expand Down

0 comments on commit fc5ada5

Please sign in to comment.