--- sourceforge.net/trunk/rdesktop/orders.c 2004/06/27 18:53:08 726 +++ sourceforge.net/trunk/rdesktop/orders.c 2004/07/12 21:07:39 738 @@ -269,7 +269,7 @@ rdp_parse_pen(s, &os->pen, present >> 7); - DEBUG(("LINE(op=0x%x,sx=%d,sy=%d,dx=%d,dx=%d,fg=0x%x)\n", + DEBUG(("LINE(op=0x%x,sx=%d,sy=%d,dx=%d,dy=%d,fg=0x%x)\n", os->opcode, os->startx, os->starty, os->endx, os->endy, os->pen.colour)); if (os->opcode < 0x01 || os->opcode > 0x10) @@ -772,7 +772,7 @@ in_uint8p(s, data, bufsize); DEBUG(("BMPCACHE2(compr=%d,flags=%x,cx=%d,cy=%d,id=%d,idx=%d,Bpp=%d,bs=%d)\n", - compressed, flags, width, height, cache_id, cache_idx, Bpp, bufsize)); + compressed, flags, width, height, cache_id, cache_idx, Bpp, bufsize)); bmpdata = (uint8 *) xmalloc(width * height * Bpp); @@ -789,7 +789,7 @@ { for (y = 0; y < height; y++) memcpy(&bmpdata[(height - y - 1) * (width * Bpp)], - &data[y * (width * Bpp)], width * Bpp); + &data[y * (width * Bpp)], width * Bpp); } bitmap = ui_create_bitmap(width, height, bmpdata); @@ -799,7 +799,7 @@ cache_put_bitmap(cache_id, cache_idx, bitmap, 0); if (flags & PERSIST) pstcache_put_bitmap(cache_id, cache_idx, bitmap_id, width, height, - width * height * Bpp, bmpdata); + width * height * Bpp, bmpdata); } else { @@ -885,10 +885,10 @@ uint8 *next_order; in_uint16_le(s, length); - in_uint16_le(s, flags); /* used by bmpcache2 */ + in_uint16_le(s, flags); /* used by bmpcache2 */ in_uint8(s, type); - next_order = s->p + (sint16)length + 7; + next_order = s->p + (sint16) length + 7; switch (type) {