@@ -2047,3 +2047,3 @@ 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
@@ -46,3 +46,3 @@ typedef struct {
-/* Additional modifiers to use if not catched another way. */
+/* Additional modifiers to use if not caught another way. */
#define SCANCODE_SHIFT 0x100
@@ -152,3 +152,3 @@ 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.
*/
@@ -862,3 +862,3 @@ static void sdl2_display_init(DisplayState *ds, DisplayOptions *o)
#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");
@@ -79,3 +79,3 @@ static int tight_send_framebuffer_update(VncState *vs, int x, int y,
static const struct {
- double jpeg_freq_min; /* Don't send JPEG if the freq is bellow */
+ double jpeg_freq_min; /* Don't send JPEG if the freq is below */
double jpeg_freq_threshold; /* Always send JPEG if the freq is above */
@@ -112,3 +112,3 @@ static void ZRLE_ENCODE_TILE(VncState *vs, ZRLE_PIXEL *data, int w, int h,
- /* 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);
@@ -487,3 +487,3 @@ 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)
@@ -541,3 +541,3 @@ 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.
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-tight.c | 2 +- ui/vnc-enc-zrle.c.inc | 2 +- ui/vnc-enc-zywrle.h | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-)