Skip to content

Commit 248ee33

Browse files
68412542+EagleAglow@users.noreply.github.com68412542+EagleAglow@users.noreply.github.com
authored andcommitted
Update MultiThreadUnit.pas
Fix for data file format that only has line feeds.
1 parent f493b84 commit 248ee33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entries/bfire/src/MultiThreadUnit.pas

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ procedure LaunchReadingThread(inputFilename: String);
394394
begin
395395
if ((ReadBuffer + BufferIndex)^ = 10) then // line feed
396396
begin
397-
// and done collecting bytes, move to one of the stacks
397+
// done collecting bytes, tack on carriage return as data end flag
398+
DataStackItem.RawData[DataIndex] := 13;
398399

399400
// send to the appropriate stack
400401
// ABCD EFGHIJKL MNOPQR STUVWXYZ (and extended)

0 commit comments

Comments
 (0)