Skip to content

Commit 062c6d5

Browse files
fix spelling
1 parent 5da75ec commit 062c6d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

desktop/src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ impl ApplicationHandler for App {
565565
&& startup_time.elapsed() > Duration::from_secs(3)
566566
{
567567
tracing::error!("UI acceleration not working, exiting.");
568-
self.exit(Some(ExitReason::UiAccalerationFailure));
568+
self.exit(Some(ExitReason::UiAccelerationFailure));
569569
}
570570
}
571571
WindowEvent::DragDropped { paths, .. } => {
@@ -654,5 +654,5 @@ impl ApplicationHandler for App {
654654

655655
pub(crate) enum ExitReason {
656656
Shutdown,
657-
UiAccalerationFailure,
657+
UiAccelerationFailure,
658658
}

desktop/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ pub fn start() {
114114

115115
match exit_reason {
116116
#[cfg(target_os = "linux")]
117-
app::ExitReason::UiAccalerationFailure => {
117+
app::ExitReason::UiAccelerationFailure => {
118118
use std::os::unix::process::CommandExt;
119119

120120
tracing::error!("Restarting application without UI acceleration");

0 commit comments

Comments
 (0)