[haiku-commits] haiku: hrev43567 - src/libs/print/libprint

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 28 Dec 2011 05:08:23 +0100 (CET)

hrev43567 adds 1 changeset to branch 'master'
old head: 2aef344ad2d743f4f94e469fdeb4cf89102b26c1
new head: baadc350b50d030ab72f5d71d15fe0722811d485

----------------------------------------------------------------------------

baadc35: Fix ASSERT that wasn't altered back in hrev39770, allows debug build 
to succeed
  
  Signed-off-by: Matt Madia <mattmadia@xxxxxxxxx>

                                [ Urias McCullough <umccullough@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev43567
Commit:      baadc350b50d030ab72f5d71d15fe0722811d485
URL:         http://cgit.haiku-os.org/haiku/commit/?id=baadc35
Author:      Urias McCullough <umccullough@xxxxxxxxx>
Date:        Mon Dec 26 03:01:53 2011 UTC
Committer:   Matt Madia <mattmadia@xxxxxxxxx>
Commit-Date: Wed Dec 28 04:05:56 2011 UTC

----------------------------------------------------------------------------

1 files changed, 1 insertions(+), 1 deletions(-)
src/libs/print/libprint/Halftone.cpp |    2 +-

----------------------------------------------------------------------------

diff --git a/src/libs/print/libprint/Halftone.cpp 
b/src/libs/print/libprint/Halftone.cpp
index 534e553..82b5e6e 100644
--- a/src/libs/print/libprint/Halftone.cpp
+++ b/src/libs/print/libprint/Halftone.cpp
@@ -167,7 +167,7 @@ Halftone::Dither(uchar* destination, const uchar* source, 
int x, int y,
                                break;
                }
        } else {
-               ASSERT(fGray == &gray);
+               ASSERT(fGray == &ToGray);
        }
 
        (this->*fDither)(destination, source, x, y, width);


Other related posts:

  • » [haiku-commits] haiku: hrev43567 - src/libs/print/libprint - mattmadia