소스 검색

Use invariant culture.

Pieter-Jan Briers 6 년 전
부모
커밋
fc5ada5e23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;
             }