# | Line 18 | Line 18 | static char SCCSid[] = "$SunId$ LBL"; | |
---|---|---|
18 | #else | |
19 | #include <signal.h> | |
20 | #endif | |
21 | < | #include <sys/fcntl.h> |
21 | > | #include <fcntl.h> |
22 | ||
23 | #include "view.h" | |
24 | ||
# | Line 149 | Line 149 | char *zfile, *oldfile; | |
149 | /* compute scanlines */ | |
150 | for (ypos -= ystep; ypos > -ystep; ypos -= ystep) { | |
151 | /* record progress */ | |
152 | < | pctdone = 100.0*(vresolu-ypos-ystep)/vresolu; |
152 | > | pctdone = 100.0*(vresolu-1-ypos-ystep)/vresolu; |
153 | /* bottom adjust? */ | |
154 | if (ypos < 0) { | |
155 | ystep += ypos; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |