f7e80325c6
2. Fix buglet in clipping zoomed images. PR: ports/26075 Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp> 3. Enable handling Gzip'ped images. 4. Better default image path. PORTREVISION incremented to `1'.
13 lines
447 B
Text
13 lines
447 B
Text
--- xli.c.orig Wed Feb 9 14:53:35 2000
|
|
+++ xli.c Mon Mar 26 10:37:35 2001
|
|
@@ -369,8 +369,8 @@
|
|
winheight = globals.dinfo.height;
|
|
|
|
if (!images[0].ats) {
|
|
- atx = (winwidth - inew->width) / 2;
|
|
- aty = (winheight - inew->height) / 2;
|
|
+ atx = (int)(winwidth - inew->width) / 2;
|
|
+ aty = (int)(winheight - inew->height) / 2;
|
|
}
|
|
/* use clip to put border around image */
|
|
itmp = clip(inew, -atx, -aty, winwidth, winheight,
|