Explorar el Código

Use invariant culture.

Pieter-Jan Briers hace 6 años
padre
commit
fc5ada5e23
Se han modificado 1 ficheros con 1 adiciones y 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;
             }