mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 16:49:20 +02:00
Also discard lines beginning with # for multiline messages
git-svn-id: trunk@38416 -
This commit is contained in:
parent
a8617f37c1
commit
01154e1f55
@ -102,7 +102,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
if s=']' then
|
if s=']' then
|
||||||
multiline:=false
|
multiline:=false
|
||||||
else
|
else if (s[1] <> '#') then
|
||||||
inc(msgsize,length(s)+1); { +1 for linebreak }
|
inc(msgsize,length(s)+1); { +1 for linebreak }
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
@ -191,7 +191,7 @@ begin
|
|||||||
ptxt^:=#0;
|
ptxt^:=#0;
|
||||||
inc(ptxt);
|
inc(ptxt);
|
||||||
end
|
end
|
||||||
else
|
else if (s[1] <> '#') then
|
||||||
begin
|
begin
|
||||||
move(s[1],ptxt^,length(s));
|
move(s[1],ptxt^,length(s));
|
||||||
inc(ptxt,length(s));
|
inc(ptxt,length(s));
|
||||||
|
Loading…
Reference in New Issue
Block a user