Roxen.git/
server/
base_server/
roxen.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2004-01-21
2004-01-21 15:19:36 by Jonas Wallden <jonasw@roxen.com>
de130c407874530a71f0a86e767af8e2dc1d4849 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
5.2
Correct off-by-one error in auto-cropping of images.
Rev: server/base_server/roxen.pike:1.857
6:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others. // ABS and suicide systems contributed freely by Francesco Chemolli
-
constant cvs_version="$Id: roxen.pike,v 1.
856
2004/01/
14
13
:
48
:
27
grubba
Exp $";
+
constant cvs_version="$Id: roxen.pike,v 1.
857
2004/01/
21
15
:
19
:
36
jonasw
Exp $";
//! @appears roxen //!
2556:
break; case "auto": [ x0, y0, x1, y1 ] = reply->find_autocrop();
-
x1
-
= x0;
-
y1
-
= y0;
+
x1 =
x1 -
x0
+ 1
;
+
y1 =
y1 -
y0
+ 1
;
} } sort_guides = 0; // To avoid garbage.