- fixed typos in csprite's code generator for nasm
[dosdemo] / tools / csprite / src / main.c
index f0880b8..5bece2d 100644 (file)
@@ -126,10 +126,10 @@ const char *prefixfmt[] = {
        "tiletab:\n",
 
        /* NASM template */
-       "\tglobl %s\n"
+       "\tglobal %s\n"
        "%s:\n"
        "\tmov eax, [esp + 12]\n"
-       "\tmov ecx. %d\n"
+       "\tmov ecx, %d\n"
        "\tmul ecx\n"
        "\tadd eax, [esp + 8]\n"
        "\tadd eax, [esp + 4]\n"