Skip to content

Commit c46f6c7

Browse files
committed
Use chdir()
1 parent dce5c08 commit c46f6c7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.zig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ pub fn main() !void {
7676
var err_msg_buf: [1337]u8 = undefined;
7777
var err_msg_slice: []u8 = undefined;
7878

79+
if (std.c.chdir("I:/Programming/Cortex-Command-Mod-Converter-Engine") == -1) return error.chdir;
80+
7981
while (!window.shouldClose()) {
8082
zglfw.pollEvents();
8183

0 commit comments

Comments
 (0)