fix: Read did not set "Done" in the "unread" case
This commit is contained in:
parent
c79e062121
commit
9046645590
@ -26,6 +26,7 @@ IMPLEMENTATION MODULE InOut ;
|
|||||||
IF unread THEN
|
IF unread THEN
|
||||||
unread := FALSE;
|
unread := FALSE;
|
||||||
c := unreadch;
|
c := unreadch;
|
||||||
|
Done := TRUE;
|
||||||
ELSE
|
ELSE
|
||||||
WITH ibuf DO
|
WITH ibuf DO
|
||||||
IF cnt <= maxcnt THEN
|
IF cnt <= maxcnt THEN
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user