aboutsummaryrefslogtreecommitdiff
path: root/x11/qrash/files/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qrash/files/patch-aj')
-rw-r--r--x11/qrash/files/patch-aj38
1 files changed, 0 insertions, 38 deletions
diff --git a/x11/qrash/files/patch-aj b/x11/qrash/files/patch-aj
deleted file mode 100644
index 12ecae9cebcd..000000000000
--- a/x11/qrash/files/patch-aj
+++ /dev/null
@@ -1,38 +0,0 @@
---- image.cc.orig Sun Dec 26 17:22:13 1999
-+++ image.cc Sun Dec 26 17:22:52 1999
-@@ -221,7 +221,7 @@
- uchar* from = data + offsety*bytesPerLine + offsetx/8;
- uchar* to = page + y*vidBytesPerLine + x;
- for( int i=0; i<sizey; i++ ) {
-- register mask = 0x80 >> (offsetx&7);
-+ register int mask = 0x80 >> (offsetx&7);
- for( int j=0,k=0; j<sizex; j++ ) {
- if( from[k] & mask ) to[j]=color;
- mask >>= 1; if( !mask ) { mask = 0x80; k++; }
-@@ -285,7 +285,7 @@
- int stepy = (sizeY<<16)/h; y=0;
- for( int i=0; i<size_y; i++, y+=stepy ) {
- from1 = from+(y>>16)*bytesPerLine;
-- register stepx = (sizeX<<16)/w;
-+ register int stepx = (sizeX<<16)/w;
- for( int j=0, x=0; j<size_x; j++, x+=stepx ) {
- if( from1[x>>16] ) to[j] = from1[x>>16];
- }
-@@ -316,7 +316,7 @@
- int stepy = (sizeY<<16)/h; y=0;
- for( int i=0; i<size_y; i++, y+=stepy ) {
- from1 = from+(y>>16)*bytesPerLine;
-- register stepx = (sizeX<<16)/w;
-+ register int stepx = (sizeX<<16)/w;
- for( int j=0, x=0; j<size_x; j++, x+=stepx ) {
- if( from1[x>>16] ) to[j] = color;
- }
-@@ -347,7 +347,7 @@
- int stepy = (sizeY<<16)/h; y=0;
- for( int i=0; i<size_y; i++, y+=stepy ) {
- from1 = from+(y>>16)*bytesPerLine;
-- register stepx = (sizeX<<16)/w;
-+ register int stepx = (sizeX<<16)/w;
- for( int j=0, x=0; j<size_x; j++, x+=stepx ) {
- to[j] = from1[x>>16]+to[j] <= 255 ? from1[x>>16]+to[j] : 255;
- }