Commit 405b8e9eee

Sebastian <Sebastianhopkins@live.com>
2020-01-18 23:15:42
fixed typo - "path" lead to undeclared identifier
1 parent f47b7a0
Changed files (1)
lib/std/dynamic_library.zig
@@ -277,7 +277,7 @@ pub const WindowsDynLib = struct {
     }
 
     pub fn openC(path_c: [*:0]const u8) !WindowsDynLib {
-        const path_w = try windows.cStrToPrefixedFileW(path);
+        const path_w = try windows.cStrToPrefixedFileW(path_c);
         return openW(&path_w);
     }