mirror of
https://github.com/wez/wezterm.git
synced 2024-11-22 04:56:12 +03:00
macos: be precised about matching cocoa BOOL
Weirdly, this worked for me on my mac, but not in CI refs: #3340
This commit is contained in:
parent
448a9fe78a
commit
c38d160918
@ -142,7 +142,7 @@ extern "C" fn application_open_file(
|
||||
file_name: *mut Object,
|
||||
) {
|
||||
let launched: BOOL = unsafe { *this.get_ivar("launched") };
|
||||
if launched {
|
||||
if launched == YES {
|
||||
let file_name = unsafe { nsstring_to_str(file_name) }.to_string();
|
||||
if let Some(conn) = Connection::get() {
|
||||
log::debug!("application_open_file {file_name}");
|
||||
|
Loading…
Reference in New Issue
Block a user