Browse Source

* fixed resourcestrings, made a stupid mistake yesterday

florian 25 years ago
parent
commit
1eea21e93f
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/i386/n386ld.pas

+ 5 - 2
compiler/i386/n386ld.pas

@@ -95,7 +95,7 @@ implementation
                      begin
                         location.loc:=LOC_MEM;
                         location.reference.symbol:=newasmsymbol(pconstsym(symtableentry)^.owner^.name^+'_RESOURCESTRINGLIST');
-                        location.reference.offset:=(pconstsym(symtableentry)^.resstrindex+1)*4;
+                        location.reference.offset:=pconstsym(symtableentry)^.resstrindex*16+4;
                      end
                    else
                      internalerror(22798);
@@ -1050,7 +1050,10 @@ begin
 end.
 {
   $Log$
-  Revision 1.5  2000-11-09 18:52:06  florian
+  Revision 1.6  2000-11-11 22:59:20  florian
+    * fixed resourcestrings, made a stupid mistake yesterday
+
+  Revision 1.5  2000/11/09 18:52:06  florian
     * resourcestrings doesn't need the helper anymore they
       access the table now direct