Skip to content

Commit

Permalink
fix(rpict): Fixed issue with -pm corrupting first image in sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Jan 25, 2025
1 parent ab16002 commit 0462a42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/rt/rpict.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef lint
static const char RCSid[] = "$Id: rpict.c,v 2.106 2025/01/18 03:49:00 greg Exp $";
static const char RCSid[] = "$Id: rpict.c,v 2.107 2025/01/25 04:57:56 greg Exp $";
#endif
/*
* rpict.c - routines and variables for picture generation.
Expand Down Expand Up @@ -289,6 +289,7 @@ rpict( /* generate image(s) */
do {
if (seq && nextview(stdin) == EOF)
break;
lastview.type *= seq > 1;
pctdone = 0.0;
if (pout != NULL) {
int myfd;
Expand Down

0 comments on commit 0462a42

Please sign in to comment.