[PATCH vkd3d 5/6] vkd3d-shader/hlsl: Fix a typo in an error message.

Zebediah Figura zfigura at codeweavers.com
Wed Nov 3 00:26:41 CDT 2021


From: Giovanni Mascellani <gmascellani at codeweavers.com>

Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 libs/vkd3d-shader/hlsl.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/vkd3d-shader/hlsl.y b/libs/vkd3d-shader/hlsl.y
index 3d0a9ceda..2120b26fc 100644
--- a/libs/vkd3d-shader/hlsl.y
+++ b/libs/vkd3d-shader/hlsl.y
@@ -2190,7 +2190,7 @@ struct_declaration:
                             "Anonymous struct type must declare a variable.");
                 if (modifiers)
                     hlsl_error(ctx, @1, VKD3D_SHADER_ERROR_HLSL_INVALID_MODIFIER,
-                            "Modifiers are not allowed on struct type declataions.");
+                            "Modifiers are not allowed on struct type declarations.");
             }
 
             if (!(type = apply_type_modifiers(ctx, $2, &modifiers, @1)))
-- 
2.33.1




More information about the wine-devel mailing list