From 74a3b6c2db326bb320890702b158bc4e803045b5 Mon Sep 17 00:00:00 2001 From: Shawdooow Date: Sat, 20 Nov 2021 18:44:03 -0500 Subject: [PATCH] remove check for # --- vke/src/Utils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vke/src/Utils.cs b/vke/src/Utils.cs index 82cbcf9..e82fc39 100644 --- a/vke/src/Utils.cs +++ b/vke/src/Utils.cs @@ -42,7 +42,7 @@ namespace Vulkan { /// The stream from path. /// The file or stream path. Embedded resource path starts with '#'. public static Stream GetStreamFromPath (string path) { - if (path.StartsWith ("#", StringComparison.Ordinal)) { + if (path.Contains(":", StringComparison.Ordinal)) { Stream stream = null; string resId = path.Substring (1); string[] assemblyNames = resId.Split (':'); -- 2.47.3