--- sourceforge.net/trunk/rdesktop/rdp.c 2003/02/07 23:43:37 314 +++ sourceforge.net/trunk/rdesktop/rdp.c 2003/02/10 12:58:51 318 @@ -583,7 +583,8 @@ bmpdata = xmalloc(width * height * Bpp); for (y = 0; y < height; y++) { - in_uint8a(s, &bmpdata[(height - y - 1) * (width * Bpp)], width * Bpp); + in_uint8a(s, &bmpdata[(height - y - 1) * (width * Bpp)], + width * Bpp); } ui_paint_bitmap(left, top, cx, cy, width, height, bmpdata); xfree(bmpdata);