Browse Source

+ Adjusted typeinfo constants

michael 27 years ago
parent
commit
5f21062312
1 changed files with 7 additions and 3 deletions
  1. 7 3
      rtl/i386/rttip.inc

+ 7 - 3
rtl/i386/rttip.inc

@@ -27,11 +27,12 @@ asm
 # decide what type it is
 # decide what type it is
         movl    12(%ebp),%ebx
         movl    12(%ebp),%ebx
         movb    (%ebx),%al
         movb    (%ebx),%al
-        subb    $10,%al
+# This is MANIFESTLY wrong
+        subb    $9,%al
         jz      .DoAnsiStringInit
         jz      .DoAnsiStringInit
         decb    %al
         decb    %al
         jz      .DoAnsiStringInit
         jz      .DoAnsiStringInit
-        subb    $2,%al
+        subb    $3,%al
         jz      .DoArrayInit
         jz      .DoArrayInit
         decb    %al
         decb    %al
         jz      .DoRecordInit
         jz      .DoRecordInit
@@ -386,7 +387,10 @@ end;
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.11  1998-11-17 00:41:10  peter
+  Revision 1.12  1998-11-30 10:07:34  michael
+  + Adjusted typeinfo constants
+
+  Revision 1.11  1998/11/17 00:41:10  peter
     * renamed string functions
     * renamed string functions
 
 
   Revision 1.10  1998/11/16 12:21:47  peter
   Revision 1.10  1998/11/16 12:21:47  peter