[Spice-commits] server/red_common.h server/red_worker.c
Alon Levy
alon at kemper.freedesktop.org
Mon Sep 3 04:57:17 PDT 2012
server/red_common.h | 2 +-
server/red_worker.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit eab78033a61001b01cfe79e6d9e49bdb45ff89fe
Author: Alon Levy <alevy at redhat.com>
Date: Mon Sep 3 14:56:56 2012 +0300
server: replace syntax-check reported tabs with spaces
diff --git a/server/red_common.h b/server/red_common.h
index 478b56a..c563bc0 100644
--- a/server/red_common.h
+++ b/server/red_common.h
@@ -38,7 +38,7 @@ enum {
static inline int bitmap_fmt_is_rgb(uint8_t fmt)
{
static const int BITMAP_FMT_IS_RGB[SPICE_BITMAP_FMT_ENUM_END] =
- {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1};
+ {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1};
if (fmt >= SPICE_BITMAP_FMT_ENUM_END) {
spice_warning("fmt >= SPICE_BITMAP_FMT_ENUM_END");
diff --git a/server/red_worker.c b/server/red_worker.c
index 44ffc33..133ba94 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -6361,7 +6361,7 @@ static inline int red_compress_image(DisplayChannelClient *dcc,
} else {
if (drawable->copy_bitmap_graduality == BITMAP_GRADUAL_INVALID) {
quic_compress = BITMAP_FMT_HAS_GRADUALITY(src->format) &&
- (_get_bitmap_graduality_level(display_channel->common.worker, src,
+ (_get_bitmap_graduality_level(display_channel->common.worker, src,
drawable->group_id) ==
BITMAP_GRADUAL_HIGH);
} else {
More information about the Spice-commits
mailing list