Browse Source

* fixed error that only really caused progblems if the total size
of the messages text is a multiple of 240

git-svn-id: branches/wpo@11894 -

Jonas Maebe 17 years ago
parent
commit
f6e004b94b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/utils/msg2inc.pp

+ 2 - 0
compiler/utils/msg2inc.pp

@@ -161,6 +161,8 @@ begin
      writeln('aborting');
      halt(1);
    end;
+{ no linebreak after last entry }
+  dec(msgsize);
 { alloc memory }
   getmem(msgtxt,msgsize);
   ptxt:=msgtxt;