summaryrefslogtreecommitdiffstats
path: root/redhat/qt3/qt-x11-free-3.3.4-fullscreen.patch
blob: 0d03f080921f3984bf851b8059e5a34e04a65094 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- qt-x11-free-3.3.3/src/kernel/qapplication_x11.cpp.orig	2004-11-09 18:57:15.012843629 +0100
+++ qt-x11-free-3.3.3/src/kernel/qapplication_x11.cpp	2004-11-09 19:02:31.351637807 +0100
@@ -1412,7 +1412,7 @@
 			       False, XA_ATOM, &type, &format, &nitems, &after, &data);
 
 	    if (type == XA_ATOM && format == 32) {
-		ts.writeBlock((const char *) data, nitems * 4);
+		ts.writeBlock((const char *) data, nitems * sizeof(long));
 		offset += nitems;
 	    } else
 		after = 0;