diff --git a/docs/yaml/objects/feature.yaml b/docs/yaml/objects/feature.yaml index 3e0ae69df..fad6cd5e7 100644 --- a/docs/yaml/objects/feature.yaml +++ b/docs/yaml/objects/feature.yaml @@ -89,7 +89,7 @@ methods: ``` if get_option('directx').require(host_machine.system() == 'windows', - error_message: 'DirectX only available on Windows').allowed() then + error_message: 'DirectX only available on Windows').allowed() src += ['directx.c'] config.set10('HAVE_DIRECTX', true) endif