Skip to content

Commit 9d47171

Browse files
committed
2 parents 3f9f504 + 9e405e2 commit 9d47171

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entries/gklark/src/wcontest.lpr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ tcmp = class(tComparer<tsortitem>)
200200
it: pdataitem;
201201
begin
202202
pool := TFPSimpleThreadPool.Create;
203+
pool.MinThreads:=1;
203204
if threadc > 0 then pool.MaxThreads := threadc;
204205
bc := 256;
205206
i := 0;
@@ -263,7 +264,7 @@ tcmp = class(tComparer<tsortitem>)
263264
infile := ParamStr(1);
264265
if not FileExists(infile) then
265266
begin
266-
writeln('Invalid filename', ParamStr(1));
267+
writeln('Invalid filename ', ParamStr(1));
267268
break;
268269
end;
269270
end

0 commit comments

Comments
 (0)