summaryrefslogtreecommitdiffstats
path: root/server/glz_encode_tmpl.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-01-10 15:26:55 +0000
committerAlon Levy <alevy@redhat.com>2012-01-13 18:11:59 +0200
commit68c2897e5bc910151ab5f6c1c06299ae7e60c678 (patch)
tree310c8fe12f509c67d350a74b0ecfefc363bb6843 /server/glz_encode_tmpl.c
parent51f1ad54ad51cdf202566f26e7d29082a3c577ed (diff)
downloadspice-68c2897e5bc910151ab5f6c1c06299ae7e60c678.tar.gz
spice-68c2897e5bc910151ab5f6c1c06299ae7e60c678.tar.xz
spice-68c2897e5bc910151ab5f6c1c06299ae7e60c678.zip
Remove trailing whitespace from end of lines
Diffstat (limited to 'server/glz_encode_tmpl.c')
-rw-r--r--server/glz_encode_tmpl.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/glz_encode_tmpl.c b/server/glz_encode_tmpl.c
index 41edb1b7..1402f953 100644
--- a/server/glz_encode_tmpl.c
+++ b/server/glz_encode_tmpl.c
@@ -144,10 +144,10 @@
/* returns the length of the match. 0 if no match.
if image_distance = 0, pixel_distance is the distance between the matching pixels.
Otherwise, it is the offset from the beginning of the referred image */
-static INLINE size_t FNAME(do_match)(SharedDictionary *dict,
- WindowImageSegment *ref_seg, const PIXEL *ref,
+static INLINE size_t FNAME(do_match)(SharedDictionary *dict,
+ WindowImageSegment *ref_seg, const PIXEL *ref,
const PIXEL *ref_limit,
- WindowImageSegment *ip_seg, const PIXEL *ip,
+ WindowImageSegment *ip_seg, const PIXEL *ip,
const PIXEL *ip_limit,
#ifdef LZ_PLT
int pix_per_byte,
@@ -546,9 +546,9 @@ static void FNAME(compress)(Encoder *encoder)
FNAME(compress_seg)(encoder, seg_id, ip, 2);
// compressing the next segments
- for (seg_id = dict->window.segs[seg_id].next;
+ for (seg_id = dict->window.segs[seg_id].next;
seg_id != NULL_IMAGE_SEG_ID && (
- dict->window.segs[seg_id].image->id == encoder->cur_image.id);
+ dict->window.segs[seg_id].image->id == encoder->cur_image.id);
seg_id = dict->window.segs[seg_id].next) {
FNAME(compress_seg)(encoder, seg_id, (PIXEL *)dict->window.segs[seg_id].lines, 0);
}