summaryrefslogtreecommitdiff
path: root/multimedia/noatun-plugins/files/patch-noatun-plugins_synaescope_polygon.h
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-08-30 19:55:42 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-08-30 19:55:42 +0000
commitb4c31bafd8aec4f42f23f6c461f48ccbe33d3bc3 (patch)
treed80952c00b17a9ff93ed05d9a2a267b16fe30b8b /multimedia/noatun-plugins/files/patch-noatun-plugins_synaescope_polygon.h
parentThis patch is no longer needed. (diff)
Update to KDE 3.3
Diffstat (limited to 'multimedia/noatun-plugins/files/patch-noatun-plugins_synaescope_polygon.h')
-rw-r--r--multimedia/noatun-plugins/files/patch-noatun-plugins_synaescope_polygon.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/multimedia/noatun-plugins/files/patch-noatun-plugins_synaescope_polygon.h b/multimedia/noatun-plugins/files/patch-noatun-plugins_synaescope_polygon.h
deleted file mode 100644
index 2a6128c31bc5..000000000000
--- a/multimedia/noatun-plugins/files/patch-noatun-plugins_synaescope_polygon.h
+++ /dev/null
@@ -1,32 +0,0 @@
-===================================================================
-RCS file: /usr/repos/kde/kdeaddons/noatun-plugins/synaescope/polygon.h,v
-retrieving revision 1.4
-retrieving revision 1.4.8.1
-diff -u -p -r1.4 -r1.4.8.1
---- noatun-plugins/synaescope/polygon.h 2001/04/16 23:20:34 1.4
-+++ noatun-plugins/synaescope/polygon.h 2004/06/12 09:54:09 1.4.8.1
-@@ -31,8 +31,8 @@ struct PolygonEngine : public Bitmap<Pix
- void apply(Pixel *dest)
- {
- Pixel sum=0;
-- int count = width*height;
-- Pixel *src = data;
-+ int count = this->width*this->height;
-+ Pixel *src = this->data;
- while(count--) {
- sum += *(src++);
- if (sum)
-@@ -44,10 +44,10 @@ struct PolygonEngine : public Bitmap<Pix
- void add(Pixel color,int x,int y)
- {
- if (y < 0) return;
-- if (y >= height) return;
-+ if (y >= this->height) return;
- if (x < 0) x = 0;
-- if (x > width) x = width;
-- data[x+y*width] += color;
-+ if (x > this->width) x = this->width;
-+ this->data[x+y*this->width] += color;
- }
-
- /* Color is char[layers] */