Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui: Fix typo in `handle_gpui_events` (#36431)

Marshall Bowersfa61c3e24d88
diff --git a/crates/gpui/src/platform/windows/platform.rs b/crates/gpui/src/platform/windows/platform.rs
index c1fb0cabc4f..ee0babf7cb6 100644
--- a/crates/gpui/src/platform/windows/platform.rs
+++ b/crates/gpui/src/platform/windows/platform.rs
@@ -227,7 +227,7 @@ impl WindowsPlatform {
| WM_GPUI_CLOSE_ONE_WINDOW
| WM_GPUI_TASK_DISPATCHED_ON_MAIN_THREAD
| WM_GPUI_DOCK_MENU_ACTION => {
- if self.handle_gpui_evnets(msg.message, msg.wParam, msg.lParam, &msg) {
+ if self.handle_gpui_events(msg.message, msg.wParam, msg.lParam, &msg) {
return;
}
}
@@ -240,7 +240,7 @@ impl WindowsPlatform {
}
// Returns true if the app should quit.
- fn handle_gpui_evnets(
+ fn handle_gpui_events(
&self,
message: u32,
wparam: WPARAM,