Skip to content

Display and control your Android device

Fix typos reported by codespell

Romain Vimontfeb250a9738c
diff --git a/app/src/server.c b/app/src/server.c
index 3b7a0fcc..ab5439ad 100644
--- a/app/src/server.c
+++ b/app/src/server.c
@@ -232,7 +232,7 @@ execute_server(struct sc_server *server,
ADD_PARAM("power_off_on_close=%s", STRBOOL(params->power_off_on_close));
}
if (!params->clipboard_autosync) {
- // By defaut, clipboard_autosync is true
+ // By default, clipboard_autosync is true
ADD_PARAM("clipboard_autosync=%s", STRBOOL(params->clipboard_autosync));
}
diff --git a/app/src/util/str.c b/app/src/util/str.c
index 70e3f1de..2d67f816 100644
--- a/app/src/util/str.c
+++ b/app/src/util/str.c
@@ -240,7 +240,7 @@ sc_str_wrap_lines(const char *input, unsigned columns, unsigned indent) {
APPEND_INDENT();
- // The last separator encountered, it must be inserted only conditionnaly,
+ // The last separator encountered, it must be inserted only conditionally,
// depending on the next token
char pending = 0;