ports/net/rdesktop/files/patch-xwin.c
Pav Lucistnik e5ea62c715 - Fix a crash on login for people running on X.org 7.2 in 24-bit color depth
PR:		ports/113216, ports/113678
Submitted by:	Thomas Spreng <spreng@socket.ch>
Approved by:	maintainer timeout (obrien; 18 days)
2007-06-19 08:55:11 +00:00

11 lines
319 B
C

--- xwin.c.orig Fri Jun 1 10:27:15 2007
+++ xwin.c Fri Jun 1 10:28:26 2007
@@ -3219,7 +3219,7 @@
return;
image = XCreateImage(g_display, g_visual, g_depth, ZPixmap, 0,
- (char *) data, cx, cy, BitmapPad(g_display), cx * g_bpp / 8);
+ (char *) data, cx, cy, g_bpp, 0);
if (g_ownbackstore)
{