mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-01 15:38:35 +00:00
change unmodified var
s to const
s in anticipation of zig changes
This commit is contained in:
@@ -310,7 +310,7 @@ pub fn wait(self: Command, block: bool) !Exit {
|
||||
}
|
||||
|
||||
var exit_code: windows.DWORD = undefined;
|
||||
var has_code = windows.kernel32.GetExitCodeProcess(self.pid.?, &exit_code) != 0;
|
||||
const has_code = windows.kernel32.GetExitCodeProcess(self.pid.?, &exit_code) != 0;
|
||||
if (!has_code) {
|
||||
return windows.unexpectedError(windows.kernel32.GetLastError());
|
||||
}
|
||||
|
Reference in New Issue
Block a user