diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2007-11-20 09:20:42 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2007-11-20 09:20:42 +0000 |
| commit | c724e396729e2f2482b84bab8a8eee2b01cff987 (patch) | |
| tree | fb2dfedee0a8d448df4c617d9d9d1affc7275522 /src/color-profile.cpp | |
| parent | add one fractional digit to zooms less than 10% (diff) | |
| download | inkscape-c724e396729e2f2482b84bab8a8eee2b01cff987.tar.gz inkscape-c724e396729e2f2482b84bab8a8eee2b01cff987.zip | |
Display CMS adjustment per-desktop view
(bzr r4114)
Diffstat (limited to 'src/color-profile.cpp')
| -rw-r--r-- | src/color-profile.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp index f676ceacf..2a17f698b 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -680,10 +680,9 @@ cmsHPROFILE Inkscape::colorprofile_get_system_profile_handle() init = true; } - long long int which = prefs_get_int_attribute_limited( "options.displayprofile", "enable", 0, 0, 1 ); gchar const * uri = prefs_get_string_attribute("options.displayprofile", "uri"); - if ( which && uri && *uri ) { + if ( uri && *uri ) { if ( lastURI != std::string(uri) ) { lastURI.clear(); if ( theOne ) { @@ -825,7 +824,7 @@ cmsHTRANSFORM Inkscape::colorprofile_get_display_transform() lastGamutColor = gamutColor; } - // Fecth these now, as they might clear the transform as a side effect. + // Fetch these now, as they might clear the transform as a side effect. cmsHPROFILE hprof = Inkscape::colorprofile_get_system_profile_handle(); cmsHPROFILE proofProf = hprof ? Inkscape::colorprofile_get_proof_profile_handle() : 0; |
