--- sourceforge.net/trunk/rdesktop/orders.c 2003/02/07 23:43:37 314 +++ sourceforge.net/trunk/rdesktop/orders.c 2003/02/10 12:58:51 318 @@ -659,7 +659,8 @@ inverted = xmalloc(width * height * Bpp); for (y = 0; y < height; y++) { - memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)], width * Bpp); + memcpy(&inverted[(height - y - 1) * (width * Bpp)], &data[y * (width * Bpp)], + width * Bpp); } bitmap = ui_create_bitmap(width, height, inverted);