fixed typo - "path" lead to undeclared identifier

This commit is contained in:
Sebastian 2020-01-18 22:15:42 +00:00 committed by Andrew Kelley
parent f47b7a0437
commit 405b8e9eee

View File

@ -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);
}