summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2026-01-05 16:29:40 +0100
committerVaxry <43317083+vaxerski@users.noreply.github.com>2026-01-05 18:53:29 +0100
commitd46df728fd40aac2219bf6a3961ad95174f71d16 (patch)
tree7a93cdb3b5394552a90156566a306d4dbdd533b0
parent8eb3ecc7556e07ffdb8037504429e9ccc749c0ab (diff)
protocols/contentType: fix typo in already constructed check
-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;
}