Win: Fix typo and incorrect strlen for finding/loading ICDs.
diff --git a/loader/loader.c b/loader/loader.c
index 377de81..af88c41 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -166,7 +166,7 @@
size_t rtn_len;
registry_str = loader_get_registry_string(HKEY_LOCAL_MACHINE,
- "Software\\VK",
+ "Software\\Vulkan",
registry_value);
registry_len = (registry_str) ? strlen(registry_str) : 0;
diff --git a/loader/loader_platform.h b/loader/loader_platform.h
index 230ee5d..08ce208 100644
--- a/loader/loader_platform.h
+++ b/loader/loader_platform.h
@@ -159,7 +159,7 @@
#define DEFAULT_VK_DRIVERS_PATH "C:\\Windows\\System32"
// TODO/TBD: Is this an appropriate prefix for Windows?
#define VK_DRIVER_LIBRARY_PREFIX "VK_"
-#define VK_DRIVER_LIBRARY_PREFIX_LEN 4
+#define VK_DRIVER_LIBRARY_PREFIX_LEN 3
// TODO/TBD: Is this an appropriate suffix for Windows?
#define VK_LAYER_LIBRARY_PREFIX "VKLayer"
#define VK_LAYER_LIBRARY_PREFIX_LEN 8