protocols/contentType: fix typo in already constructed check

This commit is contained in:
Vaxry 2026-01-05 16:29:40 +01:00 committed by Vaxry
parent 8eb3ecc755
commit d46df728fd

View file

@ -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;
}