fixed bug: OO_halfflush did not work properly
This commit is contained in:
parent
3adeb611df
commit
2930ebb406
|
@ -188,7 +188,7 @@ OO_halfflush()
|
||||||
for(p=OO_buffer,i=n;i--;)
|
for(p=OO_buffer,i=n;i--;)
|
||||||
C_out(p++);
|
C_out(p++);
|
||||||
/* now copy the rest of buffer and pattern back */
|
/* now copy the rest of buffer and pattern back */
|
||||||
BTSCPY(p,q,i,OO_buffer,OO_buffer+n,n+(OO_nxtpatt-OO_buffer));
|
BTSCPY(p,q,i,OO_buffer,OO_buffer+n,(OO_nxtpatt-OO_buffer)-n);
|
||||||
OO_patternqueue -= n;
|
OO_patternqueue -= n;
|
||||||
OO_nxtpatt -= n;
|
OO_nxtpatt -= n;
|
||||||
printstate("after Half flush");
|
printstate("after Half flush");
|
||||||
|
|
Loading…
Reference in a new issue