[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/24] ui: spelling fixes
From: |
Michael Tokarev |
Subject: |
[PATCH 03/24] ui: spelling fixes |
Date: |
Wed, 23 Aug 2023 09:53:14 +0300 |
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
---
ui/cocoa.m | 2 +-
ui/keymaps.h | 2 +-
ui/sdl2-2d.c | 2 +-
ui/sdl2.c | 2 +-
ui/vnc-enc-zrle.c.inc | 2 +-
ui/vnc-enc-zywrle.h | 4 ++--
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/ui/cocoa.m b/ui/cocoa.m
index 0c2153d17c..4d8989c4eb 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -2046,5 +2046,5 @@ static void cocoa_display_init(DisplayState *ds,
DisplayOptions *opts)
/*
* Create the menu entries which depend on QEMU state (for consoles
- * and removeable devices). These make calls back into QEMU functions,
+ * and removable devices). These make calls back into QEMU functions,
* which is OK because at this point we know that the second thread
* holds the iothread lock and is synchronously waiting for us to
diff --git a/ui/keymaps.h b/ui/keymaps.h
index 6473405485..3d52c0882a 100644
--- a/ui/keymaps.h
+++ b/ui/keymaps.h
@@ -45,5 +45,5 @@ typedef struct {
#define SCANCODE_UP 0x80
-/* Additional modifiers to use if not catched another way. */
+/* Additional modifiers to use if not caught another way. */
#define SCANCODE_SHIFT 0x100
#define SCANCODE_CTRL 0x200
diff --git a/ui/sdl2-2d.c b/ui/sdl2-2d.c
index bfebbdeaea..06468cd493 100644
--- a/ui/sdl2-2d.c
+++ b/ui/sdl2-2d.c
@@ -151,5 +151,5 @@ bool sdl2_2d_check_format(DisplayChangeListener *dcl,
/*
* We let SDL convert for us a few more formats than,
- * the native ones. Thes are the ones I have tested.
+ * the native ones. These are the ones I have tested.
*/
return (format == PIXMAN_x8r8g8b8 ||
diff --git a/ui/sdl2.c b/ui/sdl2.c
index 0d91b555e3..ea4a92cd36 100644
--- a/ui/sdl2.c
+++ b/ui/sdl2.c
@@ -861,5 +861,5 @@ static void sdl2_display_init(DisplayState *ds,
DisplayOptions *o)
#endif
#ifndef CONFIG_WIN32
- /* QEMU uses its own low level keyboard hook procecure on Windows */
+ /* QEMU uses its own low level keyboard hook procedure on Windows */
SDL_SetHint(SDL_HINT_GRAB_KEYBOARD, "1");
#endif
diff --git a/ui/vnc-enc-zrle.c.inc b/ui/vnc-enc-zrle.c.inc
index c107d8affc..a8ca37d05e 100644
--- a/ui/vnc-enc-zrle.c.inc
+++ b/ui/vnc-enc-zrle.c.inc
@@ -111,5 +111,5 @@ static void ZRLE_ENCODE_TILE(VncState *vs, ZRLE_PIXEL
*data, int w, int h,
*end = ~*(end-1); /* one past the end is different so the while loop ends
*/
- /* Real limit is 127 but we wan't a way to know if there is more than 127
*/
+ /* Real limit is 127 but we want a way to know if there is more than 127 */
palette_init(palette, 256, ZRLE_BPP);
diff --git a/ui/vnc-enc-zywrle.h b/ui/vnc-enc-zywrle.h
index e661ec117d..64fbc90ee7 100644
--- a/ui/vnc-enc-zywrle.h
+++ b/ui/vnc-enc-zywrle.h
@@ -486,5 +486,5 @@ static inline void wavelet(int *buf, int width, int height,
int level)
/*
RGB <=> YUV conversion stuffs.
- YUV coversion is explained as following formula in strict meaning:
+ YUV conversion is explained as following formula in strict meaning:
Y = 0.299R + 0.587G + 0.114B ( 0<=Y<=255)
U = -0.169R - 0.331G + 0.500B (-128<=U<=127)
@@ -540,5 +540,5 @@ static inline void wavelet(int *buf, int width, int height,
int level)
So, we must transfer each sub images individually in strict meaning.
- But at least ZRLE meaning, following one decompositon image is same as
+ But at least ZRLE meaning, following one decomposition image is same as
avobe individual sub image. I use this format.
(Strictly saying, transfer order is reverse(Hxy->Hy->Hx->L)
--
2.39.2
- [PATCH v2 00/24] tree-wide spelling fixes, Michael Tokarev, 2023/08/23
- [PATCH 01/24] block: spelling fixes, Michael Tokarev, 2023/08/23
- Re: [PATCH v2 00/24] tree-wide spelling fixes, Michael Tokarev, 2023/08/23
- [PATCH 02/24] bsd-user: spelling fixes, Michael Tokarev, 2023/08/23
- [PATCH 03/24] ui: spelling fixes,
Michael Tokarev <=
- [PATCH 04/24] util: spelling fixes, Michael Tokarev, 2023/08/23
- [PATCH 06/24] docs: spelling fixes, Michael Tokarev, 2023/08/23
- [PATCH 08/24] mips: spelling fixes, Michael Tokarev, 2023/08/23
- [PATCH 05/24] tcg: spelling fixes, Michael Tokarev, 2023/08/23