Display and control your Android device
Fix typos
yangfldd47cefa47f6
diff --git a/app/scrcpy.1 b/app/scrcpy.1index de2b8ac6..b115e7ff 100644--- a/app/scrcpy.1+++ b/app/scrcpy.1@@ -29,7 +29,7 @@ Default is 128K (128000)..BI "\-\-audio\-buffer " msConfigure the audio buffering delay (in milliseconds).-Lower values decrease the latency, but increase the likelyhood of buffer underrun (causing audio glitches).+Lower values decrease the latency, but increase the likelihood of buffer underrun (causing audio glitches).Default is 50.@@ -379,7 +379,7 @@ Default is 27183:27199..TP\fB\-\-pause\-on\-exit\fR[=\fImode\fR]-Configure pause on exit. Possible values are "true" (always pause on exit), "false" (never pause on exit) and "if-error" (pause only if an error occured).+Configure pause on exit. Possible values are "true" (always pause on exit), "false" (never pause on exit) and "if-error" (pause only if an error occurred).This is useful to prevent the terminal window from automatically closing, so that error messages can be read.diff --git a/app/src/android/keycodes.h b/app/src/android/keycodes.hindex 60465a18..03ebb9c8 100644--- a/app/src/android/keycodes.h+++ b/app/src/android/keycodes.h@@ -633,7 +633,7 @@ enum android_keycode {* Toggles between BS and CS digital satellite services. */AKEYCODE_TV_SATELLITE_SERVICE = 240,/** Toggle Network key.- * Toggles selecting broacast services. */+ * Toggles selecting broadcast services. */AKEYCODE_TV_NETWORK = 241,/** Antenna/Cable key.* Toggles broadcast input source between antenna and cable. */diff --git a/app/src/cli.c b/app/src/cli.cindex dd1b6799..a7d85a92 100644--- a/app/src/cli.c+++ b/app/src/cli.c@@ -156,7 +156,7 @@ static const struct sc_option options[] = {.argdesc = "ms",.text = "Configure the audio buffering delay (in milliseconds).\n""Lower values decrease the latency, but increase the "- "likelyhood of buffer underrun (causing audio glitches).\n"+ "likelihood of buffer underrun (causing audio glitches).\n""Default is 50.",},{@@ -654,7 +654,7 @@ static const struct sc_option options[] = {.optional_arg = true,.text = "Configure pause on exit. Possible values are \"true\" (always ""pause on exit), \"false\" (never pause on exit) and "- "\"if-error\" (pause only if an error occured).\n"+ "\"if-error\" (pause only if an error occurred).\n""This is useful to prevent the terminal window from ""automatically closing, so that error messages can be read.\n""Default is \"false\".\n"@@ -1349,7 +1349,7 @@ print_exit_status(const struct sc_exit_status *status, unsigned cols) {return;}- assert(strlen(text) >= 9); // Contains at least the initial identation+ assert(strlen(text) >= 9); // Contains at least the initial indentation// text + 9 to remove the initial indentationprintf(" %3d %s\n", status->value, text + 9);@@ -2760,7 +2760,7 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],}}- // If mouse bindings are not explictly set, configure default bindings+ // If mouse bindings are not explicitly set, configure default bindingsif (opts->mouse_bindings.pri.right_click == SC_MOUSE_BINDING_AUTO) {assert(opts->mouse_bindings.pri.middle_click == SC_MOUSE_BINDING_AUTO);assert(opts->mouse_bindings.pri.click4 == SC_MOUSE_BINDING_AUTO);@@ -3101,7 +3101,7 @@ sc_get_pause_on_exit(int argc, char *argv[]) {if (!strcmp(value, "if-error")) {return SC_PAUSE_ON_EXIT_IF_ERROR;}- // Set to false, inclusing when the value is invalid+ // Set to false, including when the value is invalidreturn SC_PAUSE_ON_EXIT_FALSE;}}