diff options
author | corvid <corvid@lavabit.com> | 2009-04-28 08:45:47 -0400 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-04-28 08:45:47 -0400 |
commit | a7e8afc8f2f90e55be9df6563b4ef0cc545b74b5 (patch) | |
tree | 1c430bdfbb44c54eadf63278ea18ad4c985621ff /src/imgbuf.cc | |
parent | 74508718ffa01ae03048b3a209a588ba0c721465 (diff) |
Regression fix: make scaled multiscan images work again.
Diffstat (limited to 'src/imgbuf.cc')
-rw-r--r-- | src/imgbuf.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/imgbuf.cc b/src/imgbuf.cc index ee8f918a..f5883606 100644 --- a/src/imgbuf.cc +++ b/src/imgbuf.cc @@ -115,3 +115,11 @@ void a_Imgbuf_update(void *v_imgbuf, const uchar_t *buf, DilloImgType type, ((Imgbuf*)v_imgbuf)->copyRow(y, (byte *)newbuf); } +/* + * Reset for a new scan from a multiple-scan image. + */ +void a_Imgbuf_new_scan(void *v_imgbuf) +{ + ((Imgbuf*)v_imgbuf)->newScan(); +} + |