blob: 4346c80f59d16dfbf7f4f28dd51d7e9d4e79425b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
$NetBSD: patch-ab,v 1.3 1998/08/07 11:10:05 agc Exp $
--- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/grabber-spigot.cc Sat Jan 13 22:35:28 1996
+++ grabber-spigot.cc Tue Nov 18 13:16:25 1997
@@ -202,11 +202,14 @@
hstart_ = 1;
hstop_ = blkw_ - 1;
+ {
int voff = (outh_ - inh_) / 2;
- hwrap_ = outw_ - inw_ ;
int hoff = hwrap_ / 2;
+
+ hwrap_ = outw_ - inw_ ;
loff_ = outw_ * voff + hoff;
coff_ = (outw_ >> 1) * (voff >> 1) + (hoff >> 1);
+ }
hskip_ = 0;
break;
case f_411:
|