]> 4ch.mooo.com Git - 16.git/commitdiff
added #include <jstring.h> to text.h
authorsparky4 <sparky4@cock.li>
Mon, 22 Jun 2015 19:47:38 +0000 (14:47 -0500)
committersparky4 <sparky4@cock.li>
Mon, 22 Jun 2015 19:47:38 +0000 (14:47 -0500)
FTEST.EXE
src/FTEST.C
src/text.h

index 2b870a8f33ae9db70d0e2ded9e0aa0ebe68034db..6a6d957546e5be901809132fb57212173ac0d79a 100644 (file)
Binary files a/FTEST.EXE and b/FTEST.EXE differ
index 79055500cb6526dc5cf5f8f57f13a2e5bd536a27..cb37a1be459f3ac45fb452d34f0ffe7a10c869c4 100644 (file)
@@ -91,7 +91,7 @@ void main(int argc, char *argv[])
                SHL BX, 1\r
                SHL BX, 1\r
                ADD SI, BX      ;the address of A\r
-               MOV CX, w\r
+               MOV CX, 16\r
        L1:     MOV AX, ES:SI\r
                MOV DS:DI, AX\r
                INC SI\r
index edee47a94d4ada82cbb9c944287b164c0afcf06f..74d636f9c8ec298605ae053a0af7f6e3c8c72524 100644 (file)
@@ -27,6 +27,9 @@
  */
 #ifndef TEXT_H
 #define TEXT_H
+#ifdef __WATCOMC__
+#include <jstring.h>
+#endif
 #include "types.h"
 
 /* font information type */