From 2b40c61d8ed62c5de4eeadc5f555fb3b3a6b29ee Mon Sep 17 00:00:00 2001 From: just-some-tall-bloke Date: Mon, 22 Jun 2026 09:26:51 +0200 Subject: [PATCH] Fix spelling and grammar errors in comments (#15370) - dbus.rs: fix grammar (add 'between', pluralize 'processes') - win_impl.rs: fix typo 'hight' -> 'high', idiom 'such called' -> 'so-called' - startwm.sh: fix typo 'loging' -> 'logging' - lib.rs: fix copy-paste error in doc comments for scroll buttons - message.proto: fix typo 'Clipobard' -> 'Clipboard' --- libs/enigo/src/lib.rs | 6 +++--- libs/enigo/src/win/win_impl.rs | 2 +- libs/hbb_common | 2 +- res/startwm.sh | 2 +- src/server/dbus.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libs/enigo/src/lib.rs b/libs/enigo/src/lib.rs index 397081c51..ec91068c0 100644 --- a/libs/enigo/src/lib.rs +++ b/libs/enigo/src/lib.rs @@ -113,11 +113,11 @@ pub enum MouseButton { /// Scroll up button ScrollUp, - /// Left right button + /// Scroll down button ScrollDown, - /// Left right button + /// Scroll left button ScrollLeft, - /// Left right button + /// Scroll right button ScrollRight, } diff --git a/libs/enigo/src/win/win_impl.rs b/libs/enigo/src/win/win_impl.rs index a6b465ea1..41aca472c 100644 --- a/libs/enigo/src/win/win_impl.rs +++ b/libs/enigo/src/win/win_impl.rs @@ -223,7 +223,7 @@ impl KeyboardControllable for Enigo { // Windows uses uft-16 encoding. We need to check // for variable length characters. As such some // characters can be 32 bit long and those are - // encoded in such called hight and low surrogates + // encoded in so-called high and low surrogates // each 16 bit wide that needs to be send after // another to the SendInput function without // being interrupted by "keyup" diff --git a/libs/hbb_common b/libs/hbb_common index 387603f47..f857bbd3b 160000 --- a/libs/hbb_common +++ b/libs/hbb_common @@ -1 +1 @@ -Subproject commit 387603f47cbb15c0d3dc3d67ae3396d3eb707daf +Subproject commit f857bbd3bc350c800d447eb0d809d21f101cd80b diff --git a/res/startwm.sh b/res/startwm.sh index 7cdaf07ce..04e7a5a18 100755 --- a/res/startwm.sh +++ b/res/startwm.sh @@ -45,7 +45,7 @@ pre_start() return 0 } -# When loging out from the interactive shell, the execution sequence is: +# When logging out from the interactive shell, the execution sequence is: # # IF ~/.bash_logout exists THEN # execute ~/.bash_logout diff --git a/src/server/dbus.rs b/src/server/dbus.rs index 8eb44472c..b96c5a24b 100644 --- a/src/server/dbus.rs +++ b/src/server/dbus.rs @@ -1,7 +1,7 @@ /// Url handler based on dbus /// /// Note: -/// On linux, we use dbus to communicate multiple rustdesk process. +/// On linux, we use dbus to communicate between multiple rustdesk processes. /// [Flutter]: handle uni links for linux use dbus::blocking::Connection; use dbus_crossroads::{Crossroads, IfaceBuilder};