mirror of
https://github.com/alacritty/alacritty.git
synced 2026-11-29 16:40:49 +03:00
Fix invalid --working-dir string ptr for ConPTY
This commit is contained in:
1 parent
0f96a62218
commit
3a9b8e65dd
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user