diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-01-05 16:29:40 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-01-05 18:53:29 +0100 |
| commit | d46df728fd40aac2219bf6a3961ad95174f71d16 (patch) | |
| tree | 7a93cdb3b5394552a90156566a306d4dbdd533b0 | |
| parent | 8eb3ecc7556e07ffdb8037504429e9ccc749c0ab (diff) | |
protocols/contentType: fix typo in already constructed check
| -rw-r--r-- | src/protocols/ContentType.cpp | 2 |
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; } |
