freebsd-ports/x11/rxvt-devel/files/patch-src-screen.c
Pav Lucistnik c46481119a - Fix a runtime crash on amd64
PR:		ports/98590
Submitted by:	Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
2008-01-04 15:53:27 +00:00

11 lines
496 B
C

--- src/screen.c.orig 2003-03-23 17:56:06.000000000 +0100
+++ src/screen.c 2008-01-04 16:45:00.000000000 +0100
@@ -3548,7 +3548,7 @@
/* TODO: Handle MULTIPLE */
} else if (rq->target == r->h->xa[XA_TIMESTAMP] && r->selection.text) {
XChangeProperty(r->Xdisplay, rq->requestor, rq->property, XA_INTEGER,
- (8 * sizeof(Time)), PropModeReplace,
+ 32, PropModeReplace,
(unsigned char *)&r->h->selection_time, 1);
ev.property = rq->property;
} else if (rq->target == XA_STRING