Fixed typo in error message.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 20 Jul 2020 15:14:32 -0400
changeset 1286 d9e3872a055e
parent 1285 1952246ec6cd
child 1287 c5a53296dbd5
Fixed typo in error message.
mojoshader.c
--- a/mojoshader.c	Mon Jul 20 14:54:14 2020 -0400
+++ b/mojoshader.c	Mon Jul 20 15:14:32 2020 -0400
@@ -1501,7 +1501,7 @@
 static void state_RCP(Context *ctx)
 {
     if (!replicate_swizzle(ctx->source_args[0].swizzle))
-        fail(ctx, "RCP without replicate swizzzle");
+        fail(ctx, "RCP without replicate swizzle");
 } // state_RCP
 
 static void state_LOOP(Context *ctx)
@@ -1528,7 +1528,7 @@
     if (regtype != REG_TYPE_PREDICATE)
         fail(ctx, "BREAKP argument isn't predicate register");
     else if (!replicate_swizzle(ctx->source_args[0].swizzle))
-        fail(ctx, "BREAKP without replicate swizzzle");
+        fail(ctx, "BREAKP without replicate swizzle");
     else if ((ctx->loops == 0) && (ctx->reps == 0))
         fail(ctx, "BREAKP outside LOOP/ENDLOOP or REP/ENDREP");
 } // state_BREAKP