summaryrefslogtreecommitdiff
path: root/src/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocols')
-rw-r--r--src/protocols/ContentType.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocols/ContentType.cpp b/src/protocols/ContentType.cpp
index 7c8fdbc3..5e77a7cc 100644
--- a/src/protocols/ContentType.cpp
+++ b/src/protocols/ContentType.cpp
@@ -19,7 +19,7 @@ CContentTypeManager::CContentTypeManager(SP<CWpContentTypeManagerV1> resource) :
return;
}
- if (SURF->m_colorManagement) {
+ if (SURF->m_contentType) {
r->error(WP_CONTENT_TYPE_MANAGER_V1_ERROR_ALREADY_CONSTRUCTED, "CT manager already exists");
return;
}