[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/plugins/filters/colorsfilters
From:       Cyrille Berger <cyb () lepi ! org>
Date:       2007-12-02 15:17:13
Message-ID: 1196608633.151585.29774.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 744018 by berger:

don't crash if oldCs is null


 M  +1 -0      kis_perchannel_filter.cc  


--- trunk/koffice/krita/plugins/filters/colorsfilters/kis_perchannel_filter.cc #744017:744018
@@ -86,6 +86,7 @@
 
 bool KisPerChannelFilterConfiguration::isCompatible(const KisPaintDeviceSP dev) const
 {
+    if(not oldCs) return false;
     return *dev->colorSpace() == *oldCs;
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic