mirror of
https://github.com/alacritty/alacritty.git
synced 2025-04-21 18:02:37 -04:00
Fix invalid --working-dir string ptr for ConPTY
This commit is contained in:
parent
0f96a62218
commit
3a9b8e65dd
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ pub fn new<'a>(
|
|||
false as i32,
|
||||
EXTENDED_STARTUPINFO_PRESENT,
|
||||
ptr::null_mut(),
|
||||
cwd.map_or_else(ptr::null, |s| s.as_ptr()),
|
||||
cwd.as_ref().map_or_else(ptr::null, |s| s.as_ptr()),
|
||||
&mut startup_info_ex.StartupInfo as *mut STARTUPINFOW,
|
||||
&mut proc_info as *mut PROCESS_INFORMATION,
|
||||
) > 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue