Explorar o código

Use invariant culture.

Pieter-Jan Briers %!s(int64=6) %!d(string=hai) anos
pai
achega
fc5ada5e23
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Avalonia.X11/Glx/Glx.cs

+ 1 - 1
src/Avalonia.X11/Glx/Glx.cs

@@ -94,7 +94,7 @@ namespace Avalonia.X11.Glx
         // 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;
             }