diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2009-08-31 05:21:41 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2009-08-31 05:21:41 +0000 |
| commit | cec295d1ec0e76e198c841f3cd6f8c216e5d1de8 (patch) | |
| tree | 15fa2ad0811c4c669b4e050c119fba017aae0e1a /src | |
| parent | last filters file from Ivan and Tavmjong (diff) | |
| download | inkscape-cec295d1ec0e76e198c841f3cd6f8c216e5d1de8.tar.gz inkscape-cec295d1ec0e76e198c841f3cd6f8c216e5d1de8.zip | |
Fixed crash when invoked and no profile is set.
(bzr r8551)
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets/sp-color-icc-selector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/sp-color-icc-selector.cpp b/src/widgets/sp-color-icc-selector.cpp index 392a52c6d..80a551f6a 100644 --- a/src/widgets/sp-color-icc-selector.cpp +++ b/src/widgets/sp-color-icc-selector.cpp @@ -753,7 +753,7 @@ void ColorICCSelector::_updateSliders( gint ignore ) gtk_adjustment_set_value( _fooAdj[i], val ); } - if ( _prof->getTransfToSRGB8() ) { + if ( _prof && _prof->getTransfToSRGB8() ) { for ( guint i = 0; i < _profChannelCount; i++ ) { if ( static_cast<gint>(i) != ignore ) { icUInt16Number* scratch = getScratch(); |
