protocols/contentType: fix typo in already constructed check
This commit is contained in:
parent
8eb3ecc755
commit
d46df728fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue