Annotation of /trunk/rdesktop/patches/rdesktop-1.5.0-libX11-segfault-fix.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 444 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 444 byte(s)
-import
1 | niro | 153 | diff -Naur rdesktop-1.5.0.orig/xwin.c rdesktop-1.5.0/xwin.c |
2 | --- rdesktop-1.5.0.orig/xwin.c 2006-08-07 07:45:44.000000000 -0400 | ||
3 | +++ rdesktop-1.5.0/xwin.c 2007-04-16 14:31:44.020671046 -0400 | ||
4 | @@ -3219,7 +3219,7 @@ | ||
5 | return; | ||
6 | |||
7 | image = XCreateImage(g_display, g_visual, g_depth, ZPixmap, 0, | ||
8 | - (char *) data, cx, cy, BitmapPad(g_display), cx * g_bpp / 8); | ||
9 | + (char *) data, cx, cy, g_bpp, cx * g_bpp / 8); | ||
10 | |||
11 | if (g_ownbackstore) | ||
12 | { |