Skip to content

Commit 5056b49

Browse files
committed
fix typo in subscribe_to_system_event
1 parent b8f7ee4 commit 5056b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ impl SimConnector {
417417
}
418418
}
419419

420-
pub fn subcribe_to_system_event(&self, event_id: SIMCONNECT_CLIENT_EVENT_ID, event_name: &str) -> bool {
420+
pub fn subscribe_to_system_event(&self, event_id: SIMCONNECT_CLIENT_EVENT_ID, event_name: &str) -> bool {
421421
unsafe {
422422
let result = SimConnect_SubscribeToSystemEvent(self.sim_connect_handle, event_id, as_c_string!(event_name));
423423
return result == 0;

0 commit comments

Comments
 (0)