Fix typos

PR #2263 <https://github.com/Genymobile/scrcpy/pull/2263>

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Andrea Gelmini 2021-04-18 13:33:15 +02:00 committed by Romain Vimont
parent 07a85b7c94
commit 498ad23e98
5 changed files with 5 additions and 5 deletions

View file

@ -204,7 +204,7 @@ brew install pkg-config meson
``` ```
Additionally, if you want to build the server, install Java 8 from Caskroom, and Additionally, if you want to build the server, install Java 8 from Caskroom, and
make it avaliable from the `PATH`: make it available from the `PATH`:
```bash ```bash
brew tap homebrew/cask-versions brew tap homebrew/cask-versions

View file

@ -211,7 +211,7 @@ There are two [frames][video_buffer] simultaneously in memory:
- the **rendering** frame, rendered in a texture from the main thread. - the **rendering** frame, rendered in a texture from the main thread.
When a new decoded frame is available, the decoder _swaps_ the decoding and When a new decoded frame is available, the decoder _swaps_ the decoding and
rendering frame (with proper synchronization). Thus, it immediatly starts rendering frame (with proper synchronization). Thus, it immediately starts
to decode a new frame while the main thread renders the last one. to decode a new frame while the main thread renders the last one.
If a [recorder] is present (i.e. `--record` is enabled), then it muxes the raw If a [recorder] is present (i.e. `--record` is enabled), then it muxes the raw

View file

@ -21,7 +21,7 @@
#define _ANDROID_INPUT_H #define _ANDROID_INPUT_H
/** /**
* Meta key / modifer state. * Meta key / modifier state.
*/ */
enum android_metastate { enum android_metastate {
/** No meta keys are pressed. */ /** No meta keys are pressed. */

View file

@ -16,7 +16,7 @@ convert_keycode_action(SDL_EventType from, enum android_keyevent_action *to) {
static enum android_metastate static enum android_metastate
autocomplete_metastate(enum android_metastate metastate) { autocomplete_metastate(enum android_metastate metastate) {
// fill dependant flags // fill dependent flags
if (metastate & (AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_RIGHT_ON)) { if (metastate & (AMETA_SHIFT_LEFT_ON | AMETA_SHIFT_RIGHT_ON)) {
metastate |= AMETA_SHIFT_ON; metastate |= AMETA_SHIFT_ON;
} }

View file

@ -16,7 +16,7 @@ size_t
xstrncpy(char *dest, const char *src, size_t n); xstrncpy(char *dest, const char *src, size_t n);
// join tokens by sep into dst // join tokens by sep into dst
// returns the number of chars actually written (max n-1) if no trucation // returns the number of chars actually written (max n-1) if no truncation
// occurred, or n if truncated // occurred, or n if truncated
size_t size_t
xstrjoin(char *dst, const char *const tokens[], char sep, size_t n); xstrjoin(char *dst, const char *const tokens[], char sep, size_t n);