1 diff -u -p -Nr --exclude CVS splash/Splash.cc splash/Splash.cc
2 --- splash/Splash.cc 2004-05-17 20:10:49.000000000 +0200
3 +++ splash/Splash.cc 2006-02-04 17:54:51.000000000 +0100
4 @@ -734,6 +734,10 @@ void Splash::drawPixel(int x, int y, Spl
8 + if ( (unsigned) x >= (unsigned) bitmap->getWidth() ||
9 + (unsigned) y >= (unsigned) bitmap->getHeight())
12 if (noClip || state->clip->test(x, y)) {
13 color = pattern->getColor(x, y);
14 switch (bitmap->mode) {
15 @@ -771,6 +775,11 @@ void Splash::drawSpan(int x0, int x1, in
19 + if ((unsigned) x0 >= (unsigned) bitmap->getWidth() ||
20 + (unsigned) x1 >= (unsigned) bitmap->getWidth() ||
21 + (unsigned) y >= (unsigned) bitmap->getHeight())
26 switch (bitmap->mode) {
27 @@ -858,6 +867,11 @@ void Splash::xorSpan(int x0, int x1, int
31 + if ((unsigned) x0 >= (unsigned) bitmap->getWidth() ||
32 + (unsigned) x1 >= (unsigned) bitmap->getWidth() ||
33 + (unsigned) y >= (unsigned) bitmap->getHeight())
36 switch (bitmap->mode) {
38 mono1 = &bitmap->data.mono8[y * bitmap->rowSize + (x0 >> 3)];