loader: spell 'separator' correctly
authorFrank Henigman <fjhenigman@chromium.org>
Fri, 25 Nov 2016 03:15:20 +0000 (22:15 -0500)
committerMark Young <marky@lunarg.com>
Thu, 1 Dec 2016 17:07:42 +0000 (10:07 -0700)
PATH_SEPERATOR -> PATH_SEPARATOR

loader/loader.c
loader/vk_loader_platform.h

index 30a3b2d..d590d04 100644 (file)
@@ -496,7 +496,7 @@ static char *loader_get_registry_files(const struct loader_instance *inst,
                     snprintf(out, name_size + 1, "%s", name);
                 else
                     snprintf(out + strlen(out), name_size + 2, "%c%s",
-                             PATH_SEPERATOR, name);
+                             PATH_SEPARATOR, name);
             }
             name_size = 2048;
         }
@@ -1773,7 +1773,7 @@ static char *loader_get_next_path(char *path) {
 
     if (path == NULL)
         return NULL;
-    next = strchr(path, PATH_SEPERATOR);
+    next = strchr(path, PATH_SEPARATOR);
     if (next == NULL) {
         len = (uint32_t)strlen(path);
         next = path + len;
index 0ffc923..0898b1e 100644 (file)
@@ -47,7 +47,7 @@
 #include <libgen.h>
 
 // VK Library Filenames, Paths, etc.:
-#define PATH_SEPERATOR ':'
+#define PATH_SEPARATOR ':'
 #define DIRECTORY_SYMBOL '/'
 
 #define VULKAN_DIR            "/vulkan/"
@@ -236,7 +236,7 @@ using namespace std;
 #endif // __cplusplus
 
 // VK Library Filenames, Paths, etc.:
-#define PATH_SEPERATOR ';'
+#define PATH_SEPARATOR ';'
 #define DIRECTORY_SYMBOL '\\'
 #define DEFAULT_VK_REGISTRY_HIVE HKEY_LOCAL_MACHINE
 #define DEFAULT_VK_DRIVERS_INFO "SOFTWARE\\Khronos\\" API_NAME "\\Drivers"